Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: pkg/compiler/lib/src/kernel/no_such_method_resolver.dart

Issue 2777093010: Use entities in NoSuchMethodRegistry (Closed)
Patch Set: Move as cast. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/kernel/no_such_method_resolver.dart
diff --git a/pkg/compiler/lib/src/kernel/no_such_method_resolver.dart b/pkg/compiler/lib/src/kernel/no_such_method_resolver.dart
new file mode 100644
index 0000000000000000000000000000000000000000..62f58969432e52f22f213bf04f0ce0c93e5dd9ee
--- /dev/null
+++ b/pkg/compiler/lib/src/kernel/no_such_method_resolver.dart
@@ -0,0 +1,26 @@
+// Copyright (c) 2017, 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.
+
+part of dart2js.kernel.world_builder;
+
+class KernelNoSuchMethodResolver implements NoSuchMethodResolver {
+ final KernelWorldBuilder _worldBuilder;
+
+ KernelNoSuchMethodResolver(this._worldBuilder);
+
+ @override
+ bool hasForwardingSyntax(KFunction method) {
+ return false;
+ }
+
+ @override
+ bool hasThrowingSyntax(KFunction method) {
+ return false;
+ }
+
+ @override
+ FunctionEntity getSuperNoSuchMethod(FunctionEntity method) {
+ return null;
+ }
+}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/no_such_method_registry.dart ('k') | pkg/compiler/lib/src/kernel/world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698