polserver/testsuite/escript/classes/test.out
Kevin Eady 67aa0c25b0 Initial support for class instances in Executor (#699)
* Associate class descriptor with class instance

* Skeleton of BClassInstance, update tests

* Correctly handle methods on class instances

* Support calling members as methods

* Update super-multiple test

* Track called ctors; Introduce ins_check_mro

* Move class method funcref class to Executor

* Address GitHub CI annotations
- 'argument': conversion from 'size_t' to 'unsigned int'

* Update pol-core/bscript/bclassinstance.cpp

* Introduce BConstObject for class instances

* Fix unnecessary include in uotool

* Removed fixedalloc from BConstObject

* Additional test case

* Address Discord comments
- Reintroduce deleted copy assignment
2024-10-10 18:06:04 +02:00

6 lines
No EOL
255 B
Text

3
Animal constructor staticVar=value for static after printing
compile_obj=<class Animal>
Animal constructor staticVar=value for static after printing
runtime_obj=dict{ "name" -> "runtime ctor call" }
Global scope staticVar=value for static after printing