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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 12527006: A selector whose type mask is nullable, applies to methods on the null implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 19535)
+++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy)
@@ -151,6 +151,10 @@
void registerSuperNoSuchMethod() {}
void registerConstantMap() {}
void registerRuntimeType() {}
+
+ bool isNullImplementation(ClassElement cls) {
kasperl 2013/03/06 08:32:26 Why do we need this on both the compiler and the b
ngeoffray 2013/03/06 08:40:06 This is the backend super class, not the compiler
kasperl 2013/03/06 08:41:07 Ah. Funky.
+ return cls == compiler.nullClass;
+ }
}
/**
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698