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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // TODO(ahe): This is a copy of [rasta/super.dart] without the `n` | 5 // TODO(ahe): This is a copy of [rasta/super.dart] without the `n` |
6 // property. Remove this once fasta can handle all of the original file. | 6 // property. Remove this once fasta can handle all of the original file. |
7 | 7 |
8 class A { | 8 class A { |
9 var a; | 9 var a; |
10 var b; | 10 var b; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 } | 238 } |
239 | 239 |
240 main() { | 240 main() { |
241 try { | 241 try { |
242 new C().test(); | 242 new C().test(); |
243 } on NoSuchMethodError { | 243 } on NoSuchMethodError { |
244 return; // Test passed. | 244 return; // Test passed. |
245 } | 245 } |
246 throw "Test failed"; | 246 throw "Test failed"; |
247 } | 247 } |
OLD | NEW |