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

Unified Diff: frog/gen.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 | « frog/element.dart ('k') | frog/member.dart » ('j') | frog/world.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/gen.dart
diff --git a/frog/gen.dart b/frog/gen.dart
index 1af4307645b41e474888d8c71d77f09ffd4f1dd7..7875b94ca79eeb32ca3f5a6b6f3178b3125e0c98 100644
--- a/frog/gen.dart
+++ b/frog/gen.dart
@@ -1287,8 +1287,7 @@ class MethodGenerator implements TreeVisitor, CallingContext {
}
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, this);
meth.resolve();
« no previous file with comments | « frog/element.dart ('k') | frog/member.dart » ('j') | frog/world.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698