Add class indent tests

This commit is contained in:
Bruno BELANYI 2022-06-13 10:33:49 +02:00
parent f6c2b4c65e
commit 3b2796d9ad
2 changed files with 24 additions and 0 deletions

14
test/indent/classes.tig Normal file
View file

@ -0,0 +1,14 @@
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()
)
}