Debian Codegraph @

modules/gdscript/tests/scripts/parser/warnings/match_default_not_at_end.gd

raw
1 func test():
2 var i = 25
3 # The default branch (`_`) should be at the end of the `match` statement.
4 # Otherwise, a warning will be emitted
5 match i:
6 _:
7 print("default")
8 25:
9 print("is 25")