virtualx-engine/modules/gdscript/tests/scripts/runtime/features/const_class_reference.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
334 B
GDScript3
Raw Normal View History

2023-02-21 05:01:32 +01:00
# https://github.com/godotengine/godot/issues/61636
const External := preload("const_class_reference_external.notest.gd")
class Class1:
class Class2:
pass
const Class1Alias = Class1
const Class1Class2Alias = Class1.Class2
const ExternalAlias = External
const ExternalClassAlias = External.Class
func test():
pass