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

Unified Diff: frog/evaluator.dart

Issue 8681027: Fix bug 578 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: prereviewed Created 9 years, 1 month 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 | « frog/element.dart ('k') | frog/frogsh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/evaluator.dart
diff --git a/frog/evaluator.dart b/frog/evaluator.dart
index 0c68ed7dbdcc0d9aafb605794f2d6b6f316adc12..4e1ba694c32bd1a210921b852398ef4451959cee 100644
--- a/frog/evaluator.dart
+++ b/frog/evaluator.dart
@@ -64,7 +64,7 @@ class Evaluator {
_removeMember(name.name);
_lib.topType.addField(
new VariableDefinition(modifiers, type, [name], [null], name.span));
- _lib.topType.getMember(name.name).resolve(_lib.topType);
+ _lib.topType.getMember(name.name).resolve();
}
var eval(String dart) {
@@ -103,7 +103,7 @@ class Evaluator {
_removeMember(methodName);
_lib.topType.addMethod(methodName, parsed);
MethodMember definedMethod = _lib.topType.getMember(methodName);
- definedMethod.resolve(_lib.topType);
+ definedMethod.resolve();
var definedMethGen = new MethodGenerator(definedMethod, null);
definedMethGen.run();
definedMethGen.writeDefinition(world.gen.writer, null);
« no previous file with comments | « frog/element.dart ('k') | frog/frogsh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698