diff options
| author | Danil Alexeev <danil@alexeev.xyz> | 2023-08-02 15:42:36 +0300 |
|---|---|---|
| committer | Danil Alexeev <danil@alexeev.xyz> | 2023-08-02 15:42:36 +0300 |
| commit | f19377160cb6cee6db223660ce8df02d18c38a08 (patch) | |
| tree | 000352e1bfcfd3f56d975841a3b88c699e56a4e9 /modules/gdscript/tests/scripts | |
| parent | dca12c2e54bc9a91c490479ec0db38e6f69d122b (diff) | |
| download | redot-engine-f19377160cb6cee6db223660ce8df02d18c38a08.tar.gz | |
GDScript: Fix regression with native signal not found
Diffstat (limited to 'modules/gdscript/tests/scripts')
| -rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.gd | 14 | ||||
| -rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.out | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.gd b/modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.gd new file mode 100644 index 0000000000..f17fb9823d --- /dev/null +++ b/modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.gd @@ -0,0 +1,14 @@ +# GH-80157 + +extends Node + +func f(): + pass + +signal s() + +func test(): + print(f) + print(s) + print(get_child) + print(ready) diff --git a/modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.out b/modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.out new file mode 100644 index 0000000000..e5e9ff7043 --- /dev/null +++ b/modules/gdscript/tests/scripts/runtime/features/first_class_callable_and_signal.out @@ -0,0 +1,5 @@ +GDTEST_OK +Node::f +Node::[signal]s +Node::get_child +Node::[signal]ready |
