tree-sitter-tiger/test/indent/values-and-expressions.tig

31 lines
255 B
Plaintext
Raw Normal View History

2022-06-13 11:18:36 +02:00
let
type array_of_int = array of int
2022-06-13 11:24:47 +02:00
type record = {
a: int,
b: string,
c: type
}
2022-06-13 11:18:36 +02:00
var a :=
"a string"
in
array[
12
]
;
array_of_int[
27
]
of
42
;
record {
a = 1,
b = "2",
c = nil
}
end