Input:
func test_unreachable_pattern():
match 1:
_:
print(0)
@warning_ignore("unreachable_pattern")
1:
print(1)
var test
func test():
pass
Output:
func test_unreachable_pattern():
match 1:
_:
print(0)
@warning_ignore("unreachable_pattern")
1:
print(1)
var test
func test():pass
Notice how it also messes up the the function at the end
Input:
Output:
Notice how it also messes up the the function at the end