summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/analyzer/errors/cyclic_ref_override.gd
blob: f75071583866df5ca1d43aeadf21c665ec2a24b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
func test():
	print(v)

var v := InnerA.new().f()

class InnerA:
	func f(p := InnerB.new().f()) -> int:
		return 1

class InnerB extends InnerA:
	func f(p := 1) -> int:
		return super.f()