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:
Rémi Verschelde
2024-01-29 21:00:26 +01:00
parent fa48a51183
commit 745f8e112f
15 changed files with 15 additions and 307 deletions

View File

@@ -1,5 +0,0 @@
@uid("uid://c4ckv3ryprcn4")
@uid("uid://c4ckv3ryprcn4")
func test():
pass

View File

@@ -1,2 +0,0 @@
GDTEST_PARSER_ERROR
"@uid" annotation can only be used once.

View File

@@ -1,4 +0,0 @@
@uid("not a valid uid")
func test():
pass

View File

@@ -1,2 +0,0 @@
GDTEST_PARSER_ERROR
The annotated UID is invalid.

View File

@@ -1,5 +0,0 @@
extends Object
@uid("uid://c4ckv3ryprcn4")
func test():
pass

View File

@@ -1,2 +0,0 @@
GDTEST_PARSER_ERROR
Annotation "@uid" must be at the top of the script, before "extends" and "class_name".

View File

@@ -1,5 +0,0 @@
@uid("uid://c4ckv3ryprcn4")
extends Object
func test():
pass

View File

@@ -1 +0,0 @@
GDTEST_OK