summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/analyzer/errors/match_with_variable_expression.gd
blob: 4df44d9ea272939a9d102343ccc5981318ecadb8 (plain)
1
2
3
4
5
func test():
	var a = 1
	match 2:
		a + 2:
			print("not allowed")