Closed StefanLobbenmeier closed 2 years ago
Also loaded them in godot and fixed them to be accepted by godot linter:
A.gd
class SubA:
func init():
print("")
B.gd
const A = preload("A.gd")
func a(par: A.SubA) -> A.SubA:
return A.SubA.new()
Error is still the same though:
No error in Godot:
Thanks @StefanLobbenmeier for description. Fix is included in latest version (0.34.6).
I get this error
This should be enough code to reproduce:
A.gd
B.gd
Screenshot:
Another screenshot after removing .SubA from the parameter: