mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
GDScript: Fix annotation parsing adding new annotation entries
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
@export
|
||||
func test():
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Annotation "@export" cannot be applied to a function.
|
||||
@@ -0,0 +1,3 @@
|
||||
@hello_world
|
||||
func test():
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Unrecognized annotation: "@hello_world".
|
||||
Reference in New Issue
Block a user