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

Unified Diff: test/codegen_test.dart

Issue 1676463002: Type annotations instead of closure comments. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
« test/codegen/expect/closure.js ('K') | « test/codegen/expect/map_keys.js.map ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_test.dart
diff --git a/test/codegen_test.dart b/test/codegen_test.dart
index dd3ec981d138b59e9c8918f0e5ca705a055c4cf4..e388e13ef1104db62bdd7ad0a3af88361d462fb3 100644
--- a/test/codegen_test.dart
+++ b/test/codegen_test.dart
@@ -78,6 +78,7 @@ main(arguments) {
emitSourceMaps: sourceMaps,
closure: closure,
forceCompile: checkSdk,
+ destructureNamedParams: closure,
moduleFormat: moduleFormat),
useColors: false,
checkSdk: checkSdk,
@@ -151,7 +152,7 @@ $compilerMessages''';
// We need a more comprehensive strategy to test them.
var sourceMaps = filename == 'map_keys';
var closure = filename == 'closure';
- var moduleFormat = filename == 'es6_modules'
+ var moduleFormat = filename == 'es6_modules' || closure
? ModuleFormat.es6
: filename == 'node_modules'
? ModuleFormat.node
« test/codegen/expect/closure.js ('K') | « test/codegen/expect/map_keys.js.map ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698