Chromium Code Reviews| Index: lib/compiler/implementation/compiler.dart |
| diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart |
| index b91a4580dcfdaec308f3f10c6980fbb122ab913e..f533623192b54941161f181c274d2b44964b40ef 100644 |
| --- a/lib/compiler/implementation/compiler.dart |
| +++ b/lib/compiler/implementation/compiler.dart |
| @@ -122,6 +122,7 @@ class Compiler implements DiagnosticListener { |
| ClassElement nullClass; |
| ClassElement listClass; |
| Element assertMethod; |
| + Element identicalFunction; |
| Element get currentElement => _currentElement; |
| withCurrentElement(Element element, f()) { |
| @@ -367,6 +368,7 @@ class Compiler implements DiagnosticListener { |
| libraries['dart:coreimpl'] = coreImplLibrary; |
| assertMethod = jsHelperLibrary.find(const SourceString('assert')); |
| + identicalFunction = coreLibrary.find(const SourceString('identical')); |
|
ahe
2012/09/18 08:30:17
This doesn't report an error if it cannot find 'id
|
| initializeSpecialClasses(); |
| } |