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

Unified Diff: frog/lib/natives.dart

Issue 8763001: Fix names with '$' to not conflict with operators or internal helpers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged again 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/gen.dart ('k') | frog/library.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/lib/natives.dart
diff --git a/frog/lib/natives.dart b/frog/lib/natives.dart
index 79bfd44b37d0b3707c23d38aaa98156242a78b97..6321634a20a8d9be1af9b0a4ee30be3a95fa21fa 100644
--- a/frog/lib/natives.dart
+++ b/frog/lib/natives.dart
@@ -45,8 +45,7 @@ if (e instanceof TypeError) {
if (e.arguments[0] == 'call' || e.arguments[0] == 'apply') {
return attachStack(new ObjectNotClosureException());
} else {
- // TODO(jmesserly): can this ever happen?
- // sra: Yes, seen on '$add'.
+ // TODO(jmesserly): fix noSuchMethod on operators so we don't hit this
return attachStack(new NoSuchMethodException('', e.arguments[0], []));
}
break;
« no previous file with comments | « frog/gen.dart ('k') | frog/library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698