aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/gdformat/out.gd
blob: bede6f66cb529aeb44608b072310f7353c69f1e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class X:
	var x = [1, 2, {"a": 1}]
	var y = [
		1,
		2,
		3,
	]  # trailing comma

	func foo(a: int, b, c = [1, 2, 3]):
		if a in c and b > 100:
			print("foo")


func bar():
	print("bar")