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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 10908287: Make identical(a,b) a compile-time constant in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comment. Created 8 years, 3 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: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index a1ac9a088c79798221aa291a1e97a5bdade7039c..14a90edc6aae7c78b0a3bb03e7ea1328a046aabf 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -64,7 +64,8 @@ const String DEFAULT_CORELIB = r'''
class List {}
class Closure {}
class Null {}
- class Dynamic_ {}''';
+ class Dynamic_ {}
+ bool identical(Object a, Object b) {}''';
class MockCompiler extends Compiler {
List<WarningMessage> warnings;

Powered by Google App Engine
This is Rietveld 408576698