mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix outer class lookup
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class A:
|
||||
class B:
|
||||
func test():
|
||||
print(A.B.D)
|
||||
|
||||
class C:
|
||||
class D:
|
||||
pass
|
||||
|
||||
func test():
|
||||
var inst = A.B.new()
|
||||
inst.test()
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_ANALYZER_ERROR
|
||||
Cannot find member "D" in base "B".
|
||||
Reference in New Issue
Block a user