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

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

Issue 682243004: Redo "Constant fold charCodeAt via constant system" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix analysis warning Created 6 years, 2 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_libraries.dart
diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart
index d1d9ae2fb53bfa4a6002acaa8614e1e93ba4e98e..5f5cc744ea8ac2f17dd80265f4d92b7f8c692e20 100644
--- a/tests/compiler/dart2js/mock_libraries.dart
+++ b/tests/compiler/dart2js/mock_libraries.dart
@@ -339,6 +339,7 @@ const Map<String, String> DEFAULT_INTERCEPTORS_LIBRARY = const <String, String>{
operator[](index) {}
toString() {}
operator+(other) => this;
+ codeUnitAt(index) => 42;
}''',
'JSUInt31': 'class JSUInt31 extends JSUInt32 {}',
'JSUInt32': 'class JSUInt32 extends JSPositiveInt {}',
@@ -361,4 +362,3 @@ const Map<String, String> DEFAULT_MIRRORS_LIBRARY = const <String, String>{
'MirrorSystem': 'class MirrorSystem {}',
'MirrorsUsed': 'class MirrorsUsed {}',
};
-
« no previous file with comments | « tests/compiler/dart2js/constant_folding_codeUnitAt_test.dart ('k') | tests/language/compile_time_constant_c_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698