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

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: Rebase and update test expectations. 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/resolver.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 3645b12b99b7595a75db9eee435a9a3cd7392ac6..734533d1ff06abefaf354d3df1bc3fb7d343b7e4 100644
--- a/frog/leg/compiler.dart
+++ b/frog/leg/compiler.dart
@@ -265,6 +265,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/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698