Debian Codegraph @

terps/tads/tads3/test/data/exp_err.t

raw
1 #include "tads.h"
2
3 // illegally export LastProp
4 export prop1 'LastProp';
5
6 // export two definitions for RuntimeError, in addition to the one in _main
7 export MyRuntimeError 'RuntimeError';
8 export AnotherError 'RuntimeError';
9
10 class MyRuntimeError: Exception
11 prop1 = nil
12 ;
13
14 class AnotherError: Exception
15 prop1 = nil
16 ;
17
18 main(args)
19 {
20 "That's about all!";
21 }
22