mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #55201 from Scony/fix-unreachable-code-false-positive
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
func test():
|
||||
var foo := "bar"
|
||||
match foo:
|
||||
"baz":
|
||||
return
|
||||
_:
|
||||
pass
|
||||
match foo:
|
||||
"baz":
|
||||
return
|
||||
match foo:
|
||||
"bar":
|
||||
pass
|
||||
_:
|
||||
return
|
||||
print("reached")
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_OK
|
||||
reached
|
||||
Reference in New Issue
Block a user