1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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.