summaryrefslogtreecommitdiff
path: root/point.toc
diff options
context:
space:
mode:
Diffstat (limited to 'point.toc')
-rw-r--r--point.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/point.toc b/point.toc
index 643a9f8..80506e1 100644
--- a/point.toc
+++ b/point.toc
@@ -16,7 +16,7 @@ bar ::= fn() []int {
#export x ::= bar();
-#export mk_point ::= fn(x, y: int) p : Point {
+#export mk_point ::= fn(x, y:=0) p : Point {
p.x = x;
p.y = y;
};