mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
GDScript: Fix some bugs with static variables and functions
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# GH-77098 p.3
|
||||
|
||||
@static_unload
|
||||
|
||||
@export static var a: int
|
||||
|
||||
func test():
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_ANALYZER_ERROR
|
||||
Annotation "@export" cannot be applied to a static variable.
|
||||
Reference in New Issue
Block a user