diff options
author | Ori Bernstein <ori@eigenstate.org> | 2013-08-09 17:13:30 -0400 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2013-08-09 17:13:30 -0400 |
commit | 1f224c74db8ada97c2404cd8ac2c1a3aacafd4d9 (patch) | |
tree | 3c37bfc2a2cac1139d6c72611a6d833ced83e479 /test/genericrec.myr | |
parent | e5ecc330e4eba798ee447f1e90669051b66b1879 (diff) | |
download | mc-1f224c74db8ada97c2404cd8ac2c1a3aacafd4d9.tar.gz |
Re-enable the other generic test as well.
Diffstat (limited to 'test/genericrec.myr')
-rw-r--r-- | test/genericrec.myr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/genericrec.myr b/test/genericrec.myr index e280f00..19a12cd 100644 --- a/test/genericrec.myr +++ b/test/genericrec.myr @@ -1,8 +1,9 @@ +use std /* test that generic types can be recursive, as long as they're not self * including. This just needs to compile and exit with 0. */ type list(@t) = struct val : @t - next : list(@t)* + next : list(@t)# ;; const main = { |