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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Resolver.java

Issue 8956062: Issue 940 - Exception generating js for prefixed toplevel fields (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: After running global tests Created 9 years 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: compiler/java/com/google/dart/compiler/resolver/Resolver.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Resolver.java b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
index e9acc7ab6ae76e92d0dba8b86f878e161c875b66..29fa30b687c2a93f501ff53e864d33424f9b5c72 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Resolver.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
@@ -1127,6 +1127,8 @@ public class Resolver {
x.getFunctionNameString());
if (element == null) {
diagnoseErrorInMethodInvocation(x, null, null);
+ } else {
+ x.getFunctionName().setSymbol(element);
}
break;
}
« no previous file with comments | « compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java ('k') | tests/language/language-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698