| OLD | NEW |
| 1 // Copyright (c) 2016, 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:test/test.dart'; | 5 import 'package:test/test.dart'; |
| 6 | 6 |
| 7 import 'helper.dart' show check; | 7 import 'helper.dart' show check; |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 group('compile getters with kernel', () { | 10 group('compile getters with kernel', () { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } | 111 } |
| 112 | 112 |
| 113 class B extends A { | 113 class B extends A { |
| 114 bar() { | 114 bar() { |
| 115 super.ferocious = 87; | 115 super.ferocious = 87; |
| 116 } | 116 } |
| 117 } | 117 } |
| 118 main() { | 118 main() { |
| 119 new B().bar(); | 119 new B().bar(); |
| 120 }'''; | 120 }'''; |
| 121 return check(code, useKernelInSsa: true); | 121 return check(code, |
| 122 // TODO(johnniwinther): Remove this when |
| 123 // `KernelClosureConversionTask.getClosureInfoForMember` doesn't fail |
| 124 // on the closure in `Maps.mapToString`. |
| 125 useKernelInSsa: true); |
| 122 }); | 126 }); |
| 123 } | 127 } |
| OLD | NEW |