Skip to content

Commit 87b4d30

Browse files
committed
got a method working!
1 parent 267f6c4 commit 87b4d30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/test.gila

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Vec type
77
x: u32
88
end
99

10-
// for some reason adding self breaks it
1110
test fn(self: Vec)
11+
p("im a method!")
1212
end
1313

1414
v = Vec(1)
1515

16-
p(v)
16+
v.test(1)

0 commit comments

Comments
 (0)