| Index: tests/language/naming_test.dart
|
| ===================================================================
|
| --- tests/language/naming_test.dart (revision 13754)
|
| +++ tests/language/naming_test.dart (working copy)
|
| @@ -488,19 +488,7 @@
|
| $add(Object first, Object second) => second;
|
| DartQuery $(Object obj) => new DartQuery(obj);
|
|
|
| -// Ensure we don't have false positive. named constructor and methods
|
| -// are in different namespaces, therefore it is ok to have a method
|
| -// called foo and a named constructor CLASS.foo
|
| -class Naming1Test {
|
| - Naming1Test.foo() { }
|
| - foo() { }
|
|
|
| - static void main(args) {
|
| - var a = new Naming1Test.foo();
|
| - a.foo();
|
| - }
|
| -}
|
| -
|
| // Ensure we don't have false positive.
|
| class Naming2Test {
|
| Naming2Test() { }
|
| @@ -521,6 +509,5 @@
|
|
|
| main() {
|
| NamingTest.testMain();
|
| - Naming1Test.main(null);
|
| Naming2Test.main(null);
|
| }
|
|
|