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

Unified Diff: frog/analyze.dart

Issue 9487012: Avoid mangling the name of native methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. 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/element.dart » ('j') | frog/world.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/analyze.dart
diff --git a/frog/analyze.dart b/frog/analyze.dart
index 13a05cddf188cfb2c0b0bcd96fbbc30e3ecc1969..49644c3bc25573d1280321481d7f46dcd0fa2863 100644
--- a/frog/analyze.dart
+++ b/frog/analyze.dart
@@ -164,8 +164,7 @@ class MethodAnalyzer implements TreeVisitor {
}
MethodMember _makeLambdaMethod(String name, FunctionDefinition func) {
- var meth = new MethodMember(name, method.declaringType, func);
- meth.isLambda = true;
+ var meth = new MethodMember.lambda(name, method.declaringType, func);
meth.enclosingElement = method;
meth._methodData = new MethodData(meth, _frame);
meth.resolve();
« no previous file with comments | « no previous file | frog/element.dart » ('j') | frog/world.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698