blob: 511d1b064033b1ec95d9534423ef39356893c4fc [file] [log] [blame]
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// @assertion Evaluation of a property extraction i of the form e.m proceeds
/// as follows: ...
/// Let T be the static type of e. It is a static type warning if T does not
/// have a method or getter named m
/// @description Checks that it is a compile error if T does not have a
/// setter (method named m=) named m.
/// @compile-error
/// @author msyabro
class C {
}
main() {
C o = new C();
o.v = 1;
}