summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-10-31 18:06:06 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-10-31 18:06:06 -0400
commitebed63c4771e83d640ffef3bbcec980f98212365 (patch)
tree4a1fe003bc28143a7f78b6b4ebec7a7ef3d71201 /test.toc
parent11c93eafd9b19546a1190a7cf8c9d5bf70a56e58 (diff)
almost fixed the bug
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index 3a17585..c7e4997 100644
--- a/test.toc
+++ b/test.toc
@@ -7,6 +7,8 @@ Point @= struct {
x, y : int;
};
+
+
sum @= fn(p: &Point) int {
p.x + p.y
};