summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/features/lambda_default_parameter_capture.gd
blob: 2140b6923e139676b5fc70bb719c807fb1191cbc (plain)
1
2
3
4
5
6
7
# https://github.com/godotengine/godot/issues/56751

func test():
	var x = "local"
	var lambda = func(param = x):
		print(param)
	lambda.call()