mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #105413 from HolonProduction/gdscript-recover-match
GDScript: Do phrase level recovery for match
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "AUTO_TRANSLATE_MODE_INHERIT"},
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
extends Node
|
||||
|
||||
var t
|
||||
|
||||
func test():
|
||||
match t:
|
||||
AutoTranslateMode.➡
|
||||
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "VALUE"},
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
extends Node
|
||||
|
||||
enum TestEnum {
|
||||
VALUE,
|
||||
}
|
||||
|
||||
var t
|
||||
|
||||
func test():
|
||||
match t:
|
||||
TestEnum.➡ where
|
||||
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "VALUE"},
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
extends Node
|
||||
|
||||
enum TestEnum {
|
||||
VALUE,
|
||||
}
|
||||
|
||||
var t
|
||||
|
||||
func test():
|
||||
match t:
|
||||
TestEnum.➡:
|
||||
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "AUTO_TRANSLATE_MODE_INHERIT"},
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
extends Node
|
||||
|
||||
func test():
|
||||
match AutoTranslateMode.➡
|
||||
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "VALUE"},
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
extends Node
|
||||
|
||||
enum TestEnum {
|
||||
VALUE,
|
||||
}
|
||||
|
||||
func test():
|
||||
match TestEnum.➡:
|
||||
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "AUTO_TRANSLATE_MODE_INHERIT"},
|
||||
]
|
||||
@@ -0,0 +1,5 @@
|
||||
extends Node
|
||||
|
||||
func test():
|
||||
match AutoTranslateMode.➡:
|
||||
pass
|
||||
@@ -0,0 +1,4 @@
|
||||
[output]
|
||||
include=[
|
||||
{"display": "VALUE"},
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
extends Node
|
||||
|
||||
enum TestEnum {
|
||||
VALUE,
|
||||
}
|
||||
|
||||
func test():
|
||||
match TestEnum.➡:
|
||||
TestEnum
|
||||
Reference in New Issue
Block a user