Merge pull request #75605 from anvilfolk/type-base
Make GDScript type not found errors more informative.
This commit is contained in:
commit
54b0e8123e
3 changed files with 8 additions and 3 deletions
|
|
@ -0,0 +1,6 @@
|
|||
class InnerClass:
|
||||
pass
|
||||
|
||||
func test():
|
||||
var x : InnerClass.DoesNotExist
|
||||
print("FAIL")
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
Could not find type "DoesNotExist" under base "InnerClass".
|
||||
Loading…
Add table
Add a link
Reference in a new issue