summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.toc b/test.toc
index 2eb2814..076d0a7 100644
--- a/test.toc
+++ b/test.toc
@@ -24,11 +24,11 @@ main ::= fn() {
*/
foo ::= fn(x::int) Type {
- struct {
- a: [x]int;
+ struct (t :: Type) {
+ a: [x]t;
}
};
main ::= fn() {
- f: foo(5);
+ f: foo(5)(int);
}; \ No newline at end of file