mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Support default args in funcref calls - Simplify BFunctionRef by using funcref index - Emit default args when visiting function reference * Move default args gen to second-pass visit * Better error message on param count errors * Check for constructor in MTH_NEW * Address self-review comments - Update code comments * Introduce ResourceManager to pol testsuite - Create a new class-based resource manager for deleting resources (item NPCs, multis) after each test. - Migrate house_set_multiid test to use new ResourceManager. * Move resource cleanup
22 lines
No EOL
1.2 KiB
Text
22 lines
No EOL
1.2 KiB
Text
error{ errortext = "Invalid argument count: expected 1, got 0" }
|
|
Foo::MethodA this=<class Foo> arg0=a0
|
|
error{ errortext = "Invalid argument count: expected 1, got 2" }
|
|
-
|
|
error{ errortext = "Invalid argument count: expected 1-2, got 0" }
|
|
Foo::MethodB this=<class Foo> arg0=a0 arg1=default.a1
|
|
Foo::MethodB this=<class Foo> arg0=a0 arg1=a1
|
|
error{ errortext = "Invalid argument count: expected 1-2, got 3" }
|
|
-
|
|
error{ errortext = "Invalid argument count: expected 1-3, got 0" }
|
|
Foo::MethodC this=<class Foo> arg0=a0 arg1=default.a1 arg2=default.a2
|
|
Foo::MethodC this=<class Foo> arg0=a0 arg1=a1 arg2=default.a2
|
|
Foo::MethodC this=<class Foo> arg0=a0 arg1=a1 arg2=a2
|
|
error{ errortext = "Invalid argument count: expected 1-3, got 4" }
|
|
-
|
|
error{ errortext = "Invalid argument count: expected 1+, got 0" }
|
|
Foo::MethodD this=<class Foo> arg0=a0 arg1=default.a1 arg2=default.a2 args={ }
|
|
Foo::MethodD this=<class Foo> arg0=a0 arg1=a1 arg2=default.a2 args={ }
|
|
Foo::MethodD this=<class Foo> arg0=a0 arg1=a1 arg2=a2 args={ }
|
|
Foo::MethodD this=<class Foo> arg0=a0 arg1=a1 arg2=a2 args={ a3 }
|
|
Foo::MethodD this=<class Foo> arg0=a0 arg1=a1 arg2=a2 args={ a3, a4 }
|
|
Foo::MethodD this=<class Foo> arg0=a0 arg1=a1 arg2=a2 args={ a3, a4, a5 } |