feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -0,0 +1,5 @@
|
|||
# This annotation should be used within a documentation comment instead:
|
||||
# ## @deprecated: Reason here.
|
||||
|
||||
@deprecated
|
||||
var some_variable = "value"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
"@deprecated" annotation does not exist. Use "## @deprecated: Reason here." instead.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# This annotation should be used within a documentation comment instead:
|
||||
# ## @experimental: Reason here.
|
||||
|
||||
@experimental("This function isn't implemented yet.")
|
||||
func say_hello():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
"@experimental" annotation does not exist. Use "## @experimental: Reason here." instead.
|
||||
|
|
@ -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,5 @@
|
|||
# This annotation should be used within a documentation comment instead:
|
||||
# ## @tutorial(Title): https://example.com
|
||||
|
||||
@tutorial("https://example.com")
|
||||
const SOME_CONSTANT = "value"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
"@tutorial" annotation does not exist. Use "## @tutorial(Title): https://example.com" instead.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
@hello_world
|
||||
func test():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
Unrecognized annotation: "@hello_world".
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
"@export_enum" annotation requires a variable of type "int", "Array[int]", "PackedByteArray", "PackedInt32Array", "PackedInt64Array", "String", "Array[String]", or "PackedStringArray", but type "Array[Color]" was given instead.
|
||||
>> ERROR at line 1: "@export_enum" annotation requires a variable of type "int", "Array[int]", "PackedByteArray", "PackedInt32Array", "PackedInt64Array", "String", "Array[String]", or "PackedStringArray", but type "Array[Color]" was given instead.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
"@export_enum" annotation requires a variable of type "int", "Array[int]", "PackedByteArray", "PackedInt32Array", "PackedInt64Array", "String", "Array[String]", or "PackedStringArray", but type "Color" was given instead.
|
||||
>> ERROR at line 1: "@export_enum" annotation requires a variable of type "int", "Array[int]", "PackedByteArray", "PackedInt32Array", "PackedInt64Array", "String", "Array[String]", or "PackedStringArray", but type "Color" was given instead.
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
@export_tool_button("Click me!") var action
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
>> ERROR at line 1: Tool buttons can only be used in tool scripts (add "@tool" to the top of the script).
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# GH-96792
|
||||
|
||||
var error
|
||||
error = true
|
||||
|
||||
func test():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
Unexpected identifier "error" in class body.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
@warning_ignore_start("unreachable_code")
|
||||
@warning_ignore_start("unreachable_code")
|
||||
|
||||
func test():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
Warning "UNREACHABLE_CODE" is already being ignored by "@warning_ignore_start" at line 1.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
@warning_ignore_restore("unreachable_code")
|
||||
|
||||
func test():
|
||||
pass
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_PARSER_ERROR
|
||||
Warning "UNREACHABLE_CODE" is not being ignored by "@warning_ignore_start".
|
||||
Loading…
Add table
Add a link
Reference in a new issue