cfad47cfa3/t3compiler/tads3/test/data/propexpr.t
| 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | cfad47cfa334b206c65f22086bcc5d63e6f70944 | ||
|---|---|---|---|
1 | #include <tads.h> | ||
2 | |||
3 | foo: object | ||
4 | setVal(val) { self.val = val; } | ||
5 | bad = (val) | ||
6 | good() { return val; } | ||
7 | val = nil | ||
8 | ; | ||
9 | |||
10 | main(args) | ||
11 | { | ||
12 | foo.setVal('testing'); | ||
13 | "dataType(foo.bad) = <<dataType(foo.bad)>>\n"; | ||
14 | "foo.bad = <<foo.bad>>\n"; | ||
15 | } |
Download diff