polserver/testsuite/escript/classes/super-multiple.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

47 lines
No EOL
697 B
Text

BaseClass1 arg0=unscoped-arg0 arg1=unscoped-arg1
BaseClass2 arg0=unscoped-arg2
---
BaseClass1 arg0=scoped-c1.arg0 arg1=scoped-c1.arg1
BaseClass2 arg0=scoped-c2.arg0
---
BaseClass1 arg0=scoped-c1.arg0 arg1=scoped-c1.arg1
BaseClass2 arg0=scoped-c2.arg0
---
BaseClass1 arg0=scoped-c1.arg0 arg1=scoped-c1.arg1
BaseClass2 arg0=scoped-c2.arg0
---
base1=[
[
"unscoped-arg0",
"unscoped-arg1"
],
[
"scoped-c1.arg0",
"scoped-c1.arg1"
],
[
"scoped-c1.arg0",
"scoped-c1.arg1"
],
[
"scoped-c1.arg0",
"scoped-c1.arg1"
]
]
base2=[
[
"unscoped-arg2"
],
[
"scoped-c2.arg0"
],
[
"scoped-c2.arg0"
],
[
"scoped-c2.arg0"
]
]
child="foo"