| OLD | NEW |
| 1 Starting session. Type 'help' for a list of commands. | 1 Starting session. Type 'help' for a list of commands. |
| 2 | 2 |
| 3 > r | 3 > r |
| 4 Uncaught exception: 42 | 4 Uncaught exception: 42 |
| 5 * 0: foo @throw 42 | 5 * 0: foo @throw 42 |
| 6 1: main @foo() | 6 1: main @foo() |
| 7 > restart | 7 > restart |
| 8 Uncaught exception: 'foobar' | 8 Uncaught exception: 'foobar' |
| 9 * 0: foo @throw 'foobar' | 9 * 0: foo @throw 'foobar' |
| 10 1: main @foo() | 10 1: main @foo() |
| 11 > restart | 11 > restart |
| 12 Uncaught exception: Instance of '_Exception' { | 12 Uncaught exception: Instance of '_Exception' { |
| 13 _Exception.message: 'foobar' | 13 _Exception.message: 'foobar' |
| 14 } | 14 } |
| 15 * 0: foo @throw new Exception('foobar') | 15 * 0: foo @throw new Exception('foobar') |
| 16 1: main @foo() | 16 1: main @foo() |
| 17 > restart | 17 > restart |
| 18 Uncaught exception: Instance of 'CustomException' { | 18 Uncaught exception: Instance of 'CustomException' { |
| 19 CustomException.message: 'foobar' | 19 CustomException.message: 'foobar' |
| 20 CustomException.code: 42 | 20 CustomException.code: 42 |
| 21 } | 21 } |
| 22 * 0: foo @throw new CustomException('foobar', 42) | 22 * 0: foo @throw new CustomException('foobar', 42) |
| 23 1: main @foo() | 23 1: main @foo() |
| 24 > restart | 24 > restart |
| 25 foo | 25 foo |
| 26 Uncaught exception: NoSuchMethodError: Class 'MyObject' has no method named 'bar
' that takes 0 arguments | 26 Uncaught exception: NoSuchMethodError: Class 'MyObject' has no method named 'bar
' that takes 0 arguments |
| 27 * 0: foo @object.bar() | 27 * 0: foo @object.bar() |
| 28 1: main @foo() | 28 1: main @foo() |
| 29 > Non-zero exit code from 'fletch-vm' (255). | 29 > Non-zero exit code from 'dartino-vm' (255). |
| OLD | NEW |