ref: 1f224c74db8ada97c2404cd8ac2c1a3aacafd4d9
parent: e5ecc330e4eba798ee447f1e90669051b66b1879
author: Ori Bernstein <[email protected]>
date: Fri Aug 9 13:13:30 EDT 2013
Re-enable the other generic test as well.
--- 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 = {
--- a/test/tests
+++ b/test/tests
@@ -60,8 +60,8 @@
B generic E 42
B trait-builtin E 42
B genericcall E 42
-B generictype E 0 ## BUGGERED
-# B genericrec E 0 ## BUGGERED
+B generictype E 0
+B genericrec E 0
B sizeof E 4
B gsizeof E 5
B mkunion E 0