tree-sitter-tiger/test/indent/classes.tig

15 lines
182 B
Plaintext
Raw Normal View History

2022-06-13 10:33:49 +02:00
class A {
var a := 12
method method() : int = 1
}
type B = class extends A {
var b := 27
method another_method() = (
print("called");
self.b + self.method()
)
}