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

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

Issue 1182663008: Typecheck const classes in the context of the constructor call. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 5 years, 4 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/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index ce972e533609b29dd671629c258960b45f22c4c5..7f5baf229770354107dffee982c8895aef363b7b 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -96,6 +96,7 @@ MockCompiler compilerFor(String code, Uri uri,
bool disableInlining: true,
bool minify: false,
bool trustTypeAnnotations: false,
+ bool enableTypeAssertions: false,
int expectedErrors,
int expectedWarnings,
api.CompilerOutputProvider outputProvider}) {
@@ -106,6 +107,7 @@ MockCompiler compilerFor(String code, Uri uri,
disableInlining: disableInlining,
enableMinification: minify,
trustTypeAnnotations: trustTypeAnnotations,
+ enableTypeAssertions: enableTypeAssertions,
expectedErrors: expectedErrors,
expectedWarnings: expectedWarnings,
outputProvider: outputProvider);
« no previous file with comments | « pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart ('k') | tests/compiler/dart2js/type_variable_bound_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698