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

Unified Diff: frog/type.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
Index: frog/type.dart
diff --git a/frog/type.dart b/frog/type.dart
index 4dafd284c6a17a8306a0dd2e026b74a0acf31116..c22cc57887212a8781d3766c80a3e76f118bb13f 100644
--- a/frog/type.dart
+++ b/frog/type.dart
@@ -915,11 +915,9 @@ class DefinedType extends Type {
if (definition.values != null) {
value = definition.values[i];
}
- var field = new FieldMember(name, this, definition, value);
+ var field =
+ new FieldMember(name, this, definition, value, isNative: isNative);
members[name] = field;
- if (isNative) {
- field.isNative = true;
- }
}
}

Powered by Google App Engine
This is Rietveld 408576698