summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/analyzer/errors/outer_class_lookup.gd
blob: 65c0d9dabcc26925aa7b8e43bf4b516f2dc390d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
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()