☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
parser
/
errors
/
match_guard_with_assignment.gd
☽
☼
modules/gdscript/tests/scripts/parser/errors/match_guard_with_assignment.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
func test():
2
var a = 0
3
match a:
4
0 when a = 1:
5
print("assignment not allowed on pattern guard")