GDScript: Add check for super() methods not being implemented

This commit is contained in:
ocean (they/them) 2023-09-17 11:34:18 -04:00
parent 4df80b0e62
commit 729c9b4d4b
5 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,5 @@
func _init():
super()
func test():
pass

View file

@ -0,0 +1,2 @@
GDTEST_ANALYZER_ERROR
Cannot call the parent class' virtual function "_init()" because it hasn't been defined.