| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 part of dart2js.kernel.world_builder; | 5 part of dart2js.kernel.element_map; |
| 6 | 6 |
| 7 class KernelNoSuchMethodResolver implements NoSuchMethodResolver { | 7 class KernelNoSuchMethodResolver implements NoSuchMethodResolver { |
| 8 final KernelWorldBuilder _worldBuilder; | 8 final KernelToElementMap elementMap; |
| 9 | 9 |
| 10 KernelNoSuchMethodResolver(this._worldBuilder); | 10 KernelNoSuchMethodResolver(this.elementMap); |
| 11 | 11 |
| 12 @override | 12 @override |
| 13 bool hasForwardingSyntax(KFunction method) { | 13 bool hasForwardingSyntax(KFunction method) { |
| 14 throw new UnimplementedError( | 14 throw new UnimplementedError( |
| 15 "KernelNoSuchMethodResolver.hasForwardingSyntax"); | 15 "KernelNoSuchMethodResolver.hasForwardingSyntax"); |
| 16 } | 16 } |
| 17 | 17 |
| 18 @override | 18 @override |
| 19 bool hasThrowingSyntax(KFunction method) { | 19 bool hasThrowingSyntax(KFunction method) { |
| 20 throw new UnimplementedError( | 20 throw new UnimplementedError( |
| 21 "KernelNoSuchMethodResolver.hasThrowingSyntax"); | 21 "KernelNoSuchMethodResolver.hasThrowingSyntax"); |
| 22 } | 22 } |
| 23 | 23 |
| 24 @override | 24 @override |
| 25 FunctionEntity getSuperNoSuchMethod(FunctionEntity method) { | 25 FunctionEntity getSuperNoSuchMethod(FunctionEntity method) { |
| 26 throw new UnimplementedError( | 26 throw new UnimplementedError( |
| 27 "KernelNoSuchMethodResolver.getSuperNoSuchMethod"); | 27 "KernelNoSuchMethodResolver.getSuperNoSuchMethod"); |
| 28 } | 28 } |
| 29 } | 29 } |
| OLD | NEW |