GDScript: Add check for super() methods not being implemented
This commit is contained in:
parent
4df80b0e62
commit
729c9b4d4b
5 changed files with 38 additions and 1 deletions
|
|
@ -0,0 +1,5 @@
|
|||
func _init():
|
||||
super()
|
||||
|
||||
func test():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
Cannot call the parent class' virtual function "_init()" because it hasn't been defined.
|
||||
Loading…
Add table
Add a link
Reference in a new issue