Revert "Add UID support to GDScript files"
This reverts commit c7f68a27ec.
We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.
So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
@uid("uid://c4ckv3ryprcn4")
|
||||
@uid("uid://c4ckv3ryprcn4")
|
||||
|
||||
func test():
|
||||
pass
|
||||
@@ -1,2 +0,0 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
"@uid" annotation can only be used once.
|
||||
@@ -1,4 +0,0 @@
|
||||
@uid("not a valid uid")
|
||||
|
||||
func test():
|
||||
pass
|
||||
@@ -1,2 +0,0 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
The annotated UID is invalid.
|
||||
@@ -1,5 +0,0 @@
|
||||
extends Object
|
||||
@uid("uid://c4ckv3ryprcn4")
|
||||
|
||||
func test():
|
||||
pass
|
||||
@@ -1,2 +0,0 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Annotation "@uid" must be at the top of the script, before "extends" and "class_name".
|
||||
@@ -1,5 +0,0 @@
|
||||
@uid("uid://c4ckv3ryprcn4")
|
||||
extends Object
|
||||
|
||||
func test():
|
||||
pass
|
||||
@@ -1 +0,0 @@
|
||||
GDTEST_OK
|
||||
Reference in New Issue
Block a user