mirror of
https://github.com/apple/pkl.git
synced 2026-05-25 08:09:17 +02:00
fdc501a35c
CLI commands also added: `pkl format check` and `pkl format apply`.
52 lines
512 B
Plaintext
Vendored
52 lines
512 B
Plaintext
Vendored
foo: Listing<Int> = new { 1; 2; 3; 4; 5; 6; 7 }
|
|
|
|
bar: Listing<Int> = new {
|
|
1
|
|
2
|
|
3
|
|
4
|
|
}
|
|
|
|
lineIsTooBig: Listing<Int> = new {
|
|
999999
|
|
1000000
|
|
1000001
|
|
1000002
|
|
1000003
|
|
1000004
|
|
1000005
|
|
1000006
|
|
1000007
|
|
1000008
|
|
1000009
|
|
}
|
|
|
|
lineIsTooBig2 {
|
|
999999
|
|
1000000
|
|
1000001
|
|
1000002
|
|
1000003
|
|
1000004
|
|
1000005
|
|
1000006
|
|
1000007
|
|
1000008
|
|
1000009
|
|
1000010
|
|
}
|
|
|
|
baz = new Dynamic {
|
|
1
|
|
2
|
|
3
|
|
4
|
|
|
|
["foo"] = 3
|
|
bar = 30
|
|
|
|
baz = true
|
|
}
|
|
|
|
qux = new Dynamic { 1; 2; 3; prop = "prop"; [0] = 9 }
|