mirror of
https://github.com/godotengine/godot.git
synced 2026-04-18 09:51:15 +00:00
10 lines
221 B
GDScript
10 lines
221 B
GDScript
func test():
|
|
var dict = { a = 1 }
|
|
var a = 1
|
|
match 2:
|
|
dict["a"]: # TODO: Fix positional information (parser bug).
|
|
print("not allowed")
|
|
a + 2:
|
|
print("not allowed")
|
|
_ when b == 0:
|
|
print("b does not exist")
|