cyclic_ref_func.gd 129 B

123456789
  1. func test():
  2. print(f1())
  3. print(f2())
  4. static func f1(p := f2()) -> int:
  5. return 1
  6. static func f2(p := f1()) -> int:
  7. return 2