Chromium Code Reviews| Index: tests/language/src/Setter3Test.dart |
| diff --git a/tests/language/src/Setter3Test.dart b/tests/language/src/Setter3Test.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d155e079262f3019df83e0c367669f1331f17b61 |
| --- /dev/null |
| +++ b/tests/language/src/Setter3Test.dart |
| @@ -0,0 +1,14 @@ |
| +// 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. |
| + |
|
zundel
2012/01/11 16:16:25
convention is to add a comment line here describin
codefu
2012/01/11 16:21:51
Done.
|
| +class A { |
| + set foo(x) {} |
| + void set bar(x) {} |
| + Dynamic set baz(x) {} /// 01: static type error |
| + bool set bob(x) {} /// 02: static type error |
| +} |
| + |
| +main() { |
| + new A(); |
| +} |