mirror of
https://github.com/godotengine/godot.git
synced 2026-02-13 19:05:21 +00:00
Within a match statement, it is now possible to add guards in each
branch:
var a = 0
match a:
0 when false: print("does not run")
0 when true: print("but this does")
This allows more complex logic for deciding which branch to take.
|
||
|---|---|---|
| .. | ||
| errors | ||
| features | ||
| warnings | ||
| .editorconfig | ||