summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-15 20:03:17 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-15 20:03:17 -0500
commit0a018a8b15e8ee1790358ef2e3325185b99212bc (patch)
tree603404ce7f5a500b72d0521ef08a3b77db1107e4 /test.toc
parent61ed389e1c934c4347e5a85c02053c77774ea64b (diff)
fixing bugs with pkgs
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 2 insertions, 4 deletions
diff --git a/test.toc b/test.toc
index 79e07e8..6112afa 100644
--- a/test.toc
+++ b/test.toc
@@ -7,10 +7,8 @@ putf ::= fn(x: float) {
");
};
-point ::= pkg "point";
+arr ::= pkg "a";
main ::= fn() {
- x : point.Point = point.mk_point(y = 13, 14);
- puti(x.x + x.y);
- point.x = new(int,10);
+ x : arr.Arr(int);
}; \ No newline at end of file