| 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 'dart:async'; | 6 import 'dart:async'; |
| 7 import "package:async_helper/async_helper.dart"; | 7 import "package:async_helper/async_helper.dart"; |
| 8 import 'memory_compiler.dart' show compilerFor; | 8 import 'memory_compiler.dart' show compilerFor; |
| 9 import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart' show | 9 import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart' show |
| 10 Compiler; | 10 Compiler; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 const MEMORY_SOURCE_FILES = const <String, String> { | 79 const MEMORY_SOURCE_FILES = const <String, String> { |
| 80 'main.dart': """ | 80 'main.dart': """ |
| 81 import 'dart:mirrors'; | 81 import 'dart:mirrors'; |
| 82 | 82 |
| 83 class Foo { | 83 class Foo { |
| 84 noSuchMethod(invocation) { | 84 noSuchMethod(invocation) { |
| 85 MirrorSystem.getName(null); | 85 MirrorSystem.getName(null); |
| 86 } | 86 } |
| 87 } | 87 } |
| 88 | 88 |
| 89 main() { | 89 main(hest) { |
| 90 new Foo().fisk(); | 90 new Foo().fisk(); |
| 91 var hest; | |
| 92 } | 91 } |
| 93 """}; | 92 """}; |
| OLD | NEW |