| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 '../../../sdk/lib/_internal/compiler/compiler.dart' | 9 import 'package:compiler/compiler.dart' | 
| 10        show Diagnostic; | 10        show Diagnostic; | 
| 11 | 11 | 
| 12 main() { | 12 main() { | 
| 13   Uri script = currentDirectory.resolveUri(Platform.script); | 13   Uri script = currentDirectory.resolveUri(Platform.script); | 
| 14   Uri libraryRoot = script.resolve('../../../sdk/'); | 14   Uri libraryRoot = script.resolve('../../../sdk/'); | 
| 15   Uri packageRoot = script.resolve('./packages/'); | 15   Uri packageRoot = script.resolve('./packages/'); | 
| 16 | 16 | 
| 17   var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES); | 17   var provider = new MemorySourceFileProvider(MEMORY_SOURCE_FILES); | 
| 18   int warningCount = 0; | 18   int warningCount = 0; | 
| 19   int errorCount = 0; | 19   int errorCount = 0; | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 58   } | 58   } | 
| 59 | 59 | 
| 60   for ((){}() in []) { | 60   for ((){}() in []) { | 
| 61   } | 61   } | 
| 62 | 62 | 
| 63   for (1 in []) { | 63   for (1 in []) { | 
| 64   } | 64   } | 
| 65 } | 65 } | 
| 66 """ | 66 """ | 
| 67 }; | 67 }; | 
| OLD | NEW | 
|---|