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

Side by Side Diff: tests/compiler/dart2js/bad_loop_test.dart

Issue 1864433004: Repeats and fixes the changes landed & reverted as CL 1789553003. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updates to external dependents Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import 'memory_source_file_helper.dart'; 6 import 'memory_source_file_helper.dart';
7 import "package:async_helper/async_helper.dart"; 7 import "package:async_helper/async_helper.dart";
8 8
9 import 'package:compiler/compiler.dart' 9 import 'package:compiler/compiler.dart'
10 show Diagnostic; 10 show Diagnostic;
11 import 'package:compiler/compiler_new.dart' show CompilerOptions; 11 import 'package:compiler/src/options.dart' show CompilerOptions;
12 import 'package:compiler/src/old_to_new_api.dart'; 12 import 'package:compiler/src/old_to_new_api.dart';
13 13
14 main() { 14 main() {
15 Uri script = currentDirectory.resolveUri(Platform.script); 15 Uri script = currentDirectory.resolveUri(Platform.script);
16 Uri libraryRoot = script.resolve('../../../sdk/'); 16 Uri libraryRoot = script.resolve('../../../sdk/');
17 Uri packageRoot = script.resolve('./packages/'); 17 Uri packageRoot = script.resolve('./packages/');
18 18
19 var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES); 19 var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES);
20 int warningCount = 0; 20 int warningCount = 0;
21 int errorCount = 0; 21 int errorCount = 0;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 for ((){}() in []) { 62 for ((){}() in []) {
63 } 63 }
64 64
65 for (1 in []) { 65 for (1 in []) {
66 } 66 }
67 } 67 }
68 """ 68 """
69 }; 69 };
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/backend_dart/dart_printer_test.dart ('k') | tests/compiler/dart2js/codegen_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698