OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // Regression test for http://dartbug.com/11637 |
| 6 |
| 7 class _C {} |
| 8 class _E { |
| 9 throwIt() => throw "it"; |
| 10 } |
| 11 class _F { |
| 12 throwIt() => throw "IT"; |
| 13 } |
| 14 class _D extends _C with _E, _F {} |
| 15 |
| 16 main() { |
| 17 var d = new _D(); |
| 18 try { |
| 19 d.throwIt(); |
| 20 } catch (e, s) { |
| 21 print("Exception: $e"); |
| 22 print("Stacktrace:\n$s"); |
| 23 } |
| 24 } |
OLD | NEW |