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

Unified Diff: frog/leg/compiler.dart

Issue 9327001: Implement super initializers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 10 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 | frog/leg/elements/elements.dart » ('j') | frog/leg/ssa/builder.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/compiler.dart
diff --git a/frog/leg/compiler.dart b/frog/leg/compiler.dart
index 0b44f59a083507603ab983dcd6bdd7fccde2972f..57de705348fe6f582282cab5613c00754562a02b 100644
--- a/frog/leg/compiler.dart
+++ b/frog/leg/compiler.dart
@@ -266,6 +266,7 @@ class Compiler implements DiagnosticListener {
}
void registerDynamicInvocation(SourceString methodName, Selector selector) {
+ assert(selector !== null);
Set<Invocation> existing = universe.invokedNames[methodName];
if (existing == null) {
universe.invokedNames[methodName] = new Set.from(<Selector>[selector]);
« no previous file with comments | « no previous file | frog/leg/elements/elements.dart » ('j') | frog/leg/ssa/builder.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698