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

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

Issue 707493003: dart2js: Trust type annotations more often with --trust-type-annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix argument spelling. Created 6 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: tests/compiler/dart2js/mock_libraries.dart
diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart
index f0d2b720d950983dc5e3d03b41ea6dac5d27b82f..1a47144e1fae44defa1172afcd0f11b539af32ad 100644
--- a/tests/compiler/dart2js/mock_libraries.dart
+++ b/tests/compiler/dart2js/mock_libraries.dart
@@ -100,6 +100,8 @@ const Map<String, String> DEFAULT_JS_HELPER_LIBRARY = const <String, String>{
'boolConversionCheck': 'boolConversionCheck(x) {}',
'boolTypeCast': 'boolTypeCast(value) {}',
'boolTypeCheck': 'boolTypeCheck(value) {}',
+ 'checkSubtype': 'checkSubtype(object, isField, checks, asField) {}',
+ 'checkSubtypeOfRuntimeType': 'checkSubtypeOfRuntimeType(o, t) {}',
'BoundClosure': r'''abstract class BoundClosure extends Closure {
var self;
var target;
@@ -205,7 +207,7 @@ const Map<String, String> DEFAULT_JS_HELPER_LIBRARY = const <String, String>{
'subtypeOfRuntimeTypeCast': 'subtypeOfRuntimeTypeCast(object, type) {}',
'throwAbstractClassInstantiationError':
'throwAbstractClassInstantiationError(className) {}',
- 'throwCyclicInit': 'throwCyclicInit() {}',
+ 'throwCyclicInit': 'throwCyclicInit(staticName) {}',
'throwExpression': 'throwExpression(e) {}',
'throwNoSuchMethod':
'throwNoSuchMethod(obj, name, arguments, expectedArgumentNames) {}',
« no previous file with comments | « tests/compiler/dart2js/compiler_helper.dart ('k') | tests/compiler/dart2js/trust_type_annotations2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698