summaryrefslogtreecommitdiff
path: root/test/generictype.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/generictype.myr')
-rw-r--r--test/generictype.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/generictype.myr b/test/generictype.myr
index 68a6508..3e62af4 100644
--- a/test/generictype.myr
+++ b/test/generictype.myr
@@ -1,8 +1,8 @@
use std
/* checks that parameterized types work. exits with 0. */
-type option(@a::(integral,numeric)) = union
- `Some @a::(integral,numeric)
+type option(@a) :: integral,numeric @a = union
+ `Some @a
`None
;;