Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 1 | main = <No Member>; |
| 2 | library from "org-dartlang-test:///main.dart" as main { |
| 3 | // |
| 4 | // Problems in library: |
| 5 | // |
Johnni Winther | 54ae352 | 2021-08-31 10:38:38 +0000 | [diff] [blame] | 6 | // org-dartlang-test:///main.dart:4:3: Error: 'A1.foo1' is already declared in this scope. |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 7 | // A1.foo1(){} |
| 8 | // ^^^^^^^ |
Johnni Winther | 54ae352 | 2021-08-31 10:38:38 +0000 | [diff] [blame] | 9 | // org-dartlang-test:///main.dart:3:3: Context: Previous declaration of 'A1.foo1'. |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 10 | // A1.foo1(){} |
| 11 | // ^^^^^^^ |
| 12 | // |
Johnni Winther | 54ae352 | 2021-08-31 10:38:38 +0000 | [diff] [blame] | 13 | // org-dartlang-test:///main.dart:6:7: Error: 'A1' is already declared in this scope. |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 14 | // class A1 { |
| 15 | // ^^ |
Johnni Winther | 54ae352 | 2021-08-31 10:38:38 +0000 | [diff] [blame] | 16 | // org-dartlang-test:///main.dart:2:7: Context: Previous declaration of 'A1'. |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 17 | // class A1 { |
| 18 | // ^^ |
| 19 | // |
Johnni Winther | 54ae352 | 2021-08-31 10:38:38 +0000 | [diff] [blame] | 20 | // org-dartlang-test:///main.dart:8:3: Error: 'A1.foo2' is already declared in this scope. |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 21 | // A1.foo2(){} |
| 22 | // ^^^^^^^ |
Johnni Winther | 54ae352 | 2021-08-31 10:38:38 +0000 | [diff] [blame] | 23 | // org-dartlang-test:///main.dart:7:3: Context: Previous declaration of 'A1.foo2'. |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 24 | // A1.foo2(){} |
| 25 | // ^^^^^^^ |
| 26 | // |
| 27 | |
| 28 | class A1#1 extends dart.core::Object { |
| 29 | constructor foo2() → main::A1#1* |
| 30 | : super dart.core::Object::•() {} |
Johnni Winther | 45e3fb6 | 2020-10-24 09:19:24 +0000 | [diff] [blame] | 31 | abstract member-signature get _identityHashCode() → dart.core::int*; -> dart.core::Object::_identityHashCode |
| 32 | abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) → dart.core::bool*; -> dart.core::Object::_instanceOf |
| 33 | abstract member-signature method _simpleInstanceOf(dynamic type) → dart.core::bool*; -> dart.core::Object::_simpleInstanceOf |
| 34 | abstract member-signature method _simpleInstanceOfTrue(dynamic type) → dart.core::bool*; -> dart.core::Object::_simpleInstanceOfTrue |
| 35 | abstract member-signature method _simpleInstanceOfFalse(dynamic type) → dart.core::bool*; -> dart.core::Object::_simpleInstanceOfFalse |
| 36 | abstract member-signature operator ==(dynamic other) → dart.core::bool*; -> dart.core::Object::== |
| 37 | abstract member-signature get hashCode() → dart.core::int*; -> dart.core::Object::hashCode |
| 38 | abstract member-signature method toString() → dart.core::String*; -> dart.core::Object::toString |
| 39 | abstract member-signature method noSuchMethod(dart.core::Invocation* invocation) → dynamic; -> dart.core::Object::noSuchMethod |
| 40 | abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 41 | } |
| 42 | class A1 extends dart.core::Object { |
| 43 | constructor foo1() → main::A1* |
| 44 | : super dart.core::Object::•() {} |
Johnni Winther | 45e3fb6 | 2020-10-24 09:19:24 +0000 | [diff] [blame] | 45 | abstract member-signature get _identityHashCode() → dart.core::int*; -> dart.core::Object::_identityHashCode |
| 46 | abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) → dart.core::bool*; -> dart.core::Object::_instanceOf |
| 47 | abstract member-signature method _simpleInstanceOf(dynamic type) → dart.core::bool*; -> dart.core::Object::_simpleInstanceOf |
| 48 | abstract member-signature method _simpleInstanceOfTrue(dynamic type) → dart.core::bool*; -> dart.core::Object::_simpleInstanceOfTrue |
| 49 | abstract member-signature method _simpleInstanceOfFalse(dynamic type) → dart.core::bool*; -> dart.core::Object::_simpleInstanceOfFalse |
| 50 | abstract member-signature operator ==(dynamic other) → dart.core::bool*; -> dart.core::Object::== |
| 51 | abstract member-signature get hashCode() → dart.core::int*; -> dart.core::Object::hashCode |
| 52 | abstract member-signature method toString() → dart.core::String*; -> dart.core::Object::toString |
| 53 | abstract member-signature method noSuchMethod(dart.core::Invocation* invocation) → dynamic; -> dart.core::Object::noSuchMethod |
| 54 | abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType |
Jens Johansen | 128771a | 2020-01-16 07:50:39 +0000 | [diff] [blame] | 55 | } |
| 56 | } |