GDScript: Fix error message for unfound type

This commit is contained in:
Dmitrii Maganov 2023-02-21 23:00:29 +02:00
parent 253396ba39
commit 2a08739f30
3 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,3 @@
func test():
var foo: Foo
print('not ok')

View file

@ -0,0 +1,2 @@
GDTEST_ANALYZER_ERROR
Could not find type "Foo" in the current scope.