Chromium Code Reviews
DescriptionFix names with '$' to not conflict with operators or internal helpers.
Does two things:
* In our Dart type system, we track special names with ":" instead of "$". So ":add" and "get:foobar" "set:foobar". In "jsname" we change this back to $
* in jsname, mangle $'s from Dart identifiers into $$. It's not perfect, but should avoid conflicts with our various helpers.
http://code.google.com/p/dart/issues/detail?id=639
Committed: https://code.google.com/p/dart/source/detail?r=1948
Patch Set 1 #Patch Set 2 : merged and fixed return type #Patch Set 3 : merged again #
Messages
Total messages: 2 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||