| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.semantics_visitor; | 5 library dart2js.semantics_visitor; |
| 6 | 6 |
| 7 import '../constants/expressions.dart'; | 7 import '../constants/expressions.dart'; |
| 8 import '../dart2jslib.dart' show invariant, MessageKind; | 8 import '../dart2jslib.dart' show invariant, MessageKind; |
| 9 import '../dart_types.dart'; | 9 import '../dart_types.dart'; |
| 10 import '../elements/elements.dart'; | 10 import '../elements/elements.dart'; |
| (...skipping 3107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3118 /// | 3118 /// |
| 3119 /// For instance | 3119 /// For instance |
| 3120 /// class C { | 3120 /// class C { |
| 3121 /// C(a, b); | 3121 /// C(a, b); |
| 3122 /// } | 3122 /// } |
| 3123 /// m() => const C(true, 42); | 3123 /// m() => const C(true, 42); |
| 3124 /// | 3124 /// |
| 3125 R errorNonConstantConstructorInvoke( | 3125 R errorNonConstantConstructorInvoke( |
| 3126 NewExpression node, | 3126 NewExpression node, |
| 3127 Element element, | 3127 Element element, |
| 3128 InterfaceType type, | 3128 DartType type, |
| 3129 NodeList arguments, | 3129 NodeList arguments, |
| 3130 CallStructure callStructure, | 3130 CallStructure callStructure, |
| 3131 A arg); | 3131 A arg); |
| 3132 | 3132 |
| 3133 /// Invocation of a constructor on an abstract [type] with [arguments]. | 3133 /// Invocation of a constructor on an abstract [type] with [arguments]. |
| 3134 /// | 3134 /// |
| 3135 /// For instance | 3135 /// For instance |
| 3136 /// m() => new Unresolved(true, 42); | 3136 /// m() => new Unresolved(true, 42); |
| 3137 /// | 3137 /// |
| 3138 /// where [type] is the malformed type `Unresolved`. | 3138 /// where [type] is the malformed type `Unresolved`. |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3707 /// C() : this._(42); | 3707 /// C() : this._(42); |
| 3708 /// } | 3708 /// } |
| 3709 /// | 3709 /// |
| 3710 R errorUnresolvedThisConstructorInvoke( | 3710 R errorUnresolvedThisConstructorInvoke( |
| 3711 Send node, | 3711 Send node, |
| 3712 Element element, | 3712 Element element, |
| 3713 NodeList arguments, | 3713 NodeList arguments, |
| 3714 Selector selector, | 3714 Selector selector, |
| 3715 A arg); | 3715 A arg); |
| 3716 } | 3716 } |
| OLD | NEW |