godot/modules/gdscript/tests/scripts/parser/features/lambda_default_parameter_capture.gd

# https://github.com/godotengine/godot/issues/56751

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