| 1 |
Files to build: 8 |
| 2 |
symbol_export _main.t -> _main.t3s |
| 3 |
symbol_export dynctx.t -> dynctx.t3s |
| 4 |
symbol_export dynfunc.t -> dynfunc.t3s |
| 5 |
compile _main.t -> _main.t3o |
| 6 |
compile dynctx.t -> dynctx.t3o |
| 7 |
compile dynfunc.t -> dynfunc.t3o |
| 8 |
link -> dynctx.t3p |
| 9 |
preinit -> dynctx.t3 |
| 10 |
|
| 11 |
(T3VM) Memory blocks still in use: |
| 12 |
|
| 13 |
Total blocks in use: 0 |
| 14 |
test 1: function with no method context |
| 15 |
function(x) { return x*i; } |
| 16 |
self available: no |
| 17 |
As function: 14 |
| 18 |
As method: 14 |
| 19 |
|
| 20 |
test 2: function with a method context |
| 21 |
function(x) { return x*p1; } |
| 22 |
self available: yes |
| 23 |
As function: 39 |
| 24 |
As method: 39 |
| 25 |
|
| 26 |
test 3: method with a method context |
| 27 |
method(x) { return x*p1; } |
| 28 |
self available: yes |
| 29 |
As function: error: Runtime error: numeric value required |
| 30 |
As method: 76 |
| 31 |
|
| 32 |
test 4: function with a full method context |
| 33 |
function(x) { return x*p1*inherited(); } |
| 34 |
self available: yes |
| 35 |
As function: 2035 |
| 36 |
As method: 2035 |
| 37 |
|
| 38 |
test 5: function with a full method context |
| 39 |
function() { return definingobj.p1; } |
| 40 |
self available: yes |
| 41 |
As function: 37 |
| 42 |
As method: 37 |
| 43 |
|
| 44 |
test 6: method with a full method context |
| 45 |
method(x) { return x*p1*inherited(); } |
| 46 |
self available: yes |
| 47 |
As function: error: Runtime error: numeric value required |
| 48 |
As method: 5453 |
| 49 |
|
| 50 |
|
| 51 |
(T3VM) Memory blocks still in use: |
| 52 |
|
| 53 |
Total blocks in use: 0 |