OLD | NEW |
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 // FletchDebuggerCommands=r,restart,restart,restart,restart,restart | 5 // DartinoDebuggerCommands=r,restart,restart,restart,restart,restart |
6 | 6 |
7 enum State { | 7 enum State { |
8 ThrowNumber, | 8 ThrowNumber, |
9 ThrowString, | 9 ThrowString, |
10 ThrowExceptionObject, | 10 ThrowExceptionObject, |
11 ThrowCustomObject, | 11 ThrowCustomObject, |
12 AccessNoSuchMethod, | 12 AccessNoSuchMethod, |
13 Done, | 13 Done, |
14 } | 14 } |
15 | 15 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 class CustomException { | 51 class CustomException { |
52 final String message; | 52 final String message; |
53 final int code; | 53 final int code; |
54 | 54 |
55 const CustomException(this.message, this.code); | 55 const CustomException(this.message, this.code); |
56 } | 56 } |
57 | 57 |
58 class MyObject { | 58 class MyObject { |
59 foo() => print('foo'); | 59 foo() => print('foo'); |
60 } | 60 } |
OLD | NEW |