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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2307883002: Fix type masks for js-interop types. (Closed)
Patch Set: Update status Created 4 years, 3 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/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index d155aaa35c255c36096b0a10bbf36e906f059b28..2bd492d656ede023310ad8c0eaf8463963d25dcb 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -635,6 +635,11 @@ class JavaScriptBackend extends Backend {
JavaScriptConstantCompiler get constants {
return constantCompilerTask.jsConstantCompiler;
}
+
+ @override
+ bool isDefaultNoSuchMethod(MethodElement element) {
+ return noSuchMethodRegistry.isDefaultNoSuchMethodImplementation(element);
+ }
MethodElement resolveExternalFunction(MethodElement element) {
if (isForeign(element)) {
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/js_backend/no_such_method_registry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698