cfad47cfa3/t3compiler/tads3/test/log/catch.log

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
	Files to build: 3
2
	symbol_export catch.t -> catch.t3s
3
	compile catch.t -> catch.t3o
4
catch.t(58): warning: unreachable statement
5
	link -> catch.t3
6
Errors:   0
7
Warnings: 1
8
9
(T3VM) Memory blocks still in use:
10
11
Total blocks in use: 0
12
test catch 1 - catch our own throw
13
about to throw our error...
14
test catch 1 - caught Exception1: This is an Exception1 with message "hello!"
15
test catch 1 - in finally
16
test catch 2 - catching a VM error
17
about to generate an error...
18
test catch 2 - caught Throwable: RuntimeError: error = 2004
19
test catch 2 - in finally
20
test catch 3 - catching an error while computing a return value
21
calculating our return value...
22
... in maybe_gen_err
23
... returning 'okay'
24
back in _main: test_catch_3(nil) = okay
25
test catch 3 - catching an error while computing a return value
26
calculating our return value...
27
... in maybe_gen_err
28
... causing a run-time error
29
test catch 3 - caught Throwable: RuntimeError: error = 2008
30
returning 'error'
31
back in _main: test_catch_3(true) = error
32
33
(T3VM) Memory blocks still in use:
34
35
Total blocks in use: 0