Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

314 B
Raw Blame
# https://github.com/godotengine/godot/pull/61666

func test():
	var dict := {"key": "value"}
	match dict:
		{"key": var value}:
			print(value) # used, no warning
	match dict:
		{"key": var value}:
			pass # unused, warning
	match dict:
		{"key": var _value}:
			pass # unused, suppressed warning from underscore