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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 11365170: Start new design for interceptors and implement String.charCodeAt with it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/resolution/members.dart (revision 14732)
+++ sdk/lib/_internal/compiler/implementation/resolution/members.dart (working copy)
@@ -1857,12 +1857,14 @@
}
visitLiteralString(LiteralString node) {
+ world.registerSpecialInstantiatedClass(compiler.jsStringClass);
ahe 2012/11/12 13:24:11 Perhaps the resolver should just say that a String
ngeoffray 2012/11/13 11:45:16 Done.
}
visitLiteralNull(LiteralNull node) {
}
visitStringJuxtaposition(StringJuxtaposition node) {
+ world.registerSpecialInstantiatedClass(compiler.jsStringClass);
node.visitChildren(this);
}
@@ -2074,6 +2076,7 @@
}
visitStringInterpolation(StringInterpolation node) {
+ world.registerSpecialInstantiatedClass(compiler.jsStringClass);
node.visitChildren(this);
}
@@ -2610,6 +2613,7 @@
!identical(lib, compiler.coreLibrary) &&
!identical(lib, compiler.coreImplLibrary) &&
!identical(lib, compiler.jsHelperLibrary) &&
+ !identical(lib, compiler.interceptorsLibrary) &&
(identical(type.element, compiler.dynamicClass) ||
identical(type.element, compiler.boolClass) ||
identical(type.element, compiler.numClass) ||

Powered by Google App Engine
This is Rietveld 408576698