diff options
| author | Alasdair Armstrong | 2019-11-05 18:55:59 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2019-11-05 18:55:59 +0000 |
| commit | d474f256c7dfde3af9ef089ad9de5b7ff01f2d9f (patch) | |
| tree | 91741c959063a4b1d476d444bd4e4cf3c47da92c /test | |
| parent | 1edd0e73a7d19904639341fd360fff5fa3ff4fec (diff) | |
Improve type error for recursive types slightly
Diffstat (limited to 'test')
| -rw-r--r-- | test/typecheck/fail/struct_rec.expect | 2 | ||||
| -rw-r--r-- | test/typecheck/fail/synonym_rec.expect | 2 | ||||
| -rw-r--r-- | test/typecheck/fail/union_rec.expect | 2 | ||||
| -rw-r--r-- | test/typecheck/fail/union_recf.expect | 2 | ||||
| -rw-r--r-- | test/typecheck/pass/constrained_struct/v1.expect | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/test/typecheck/fail/struct_rec.expect b/test/typecheck/fail/struct_rec.expect index 6daa067d..2b5b1852 100644 --- a/test/typecheck/fail/struct_rec.expect +++ b/test/typecheck/fail/struct_rec.expect @@ -9,5 +9,5 @@ Type error: [91m |[0m [91m |[0m[91m^-----------[0m [91m |[0m 4[96m |[0m} [91m |[0m [91m |[0m[91m^[0m - [91m |[0m [91m |[0m Recursive types are not allowed + [91m |[0m [91m |[0m Types are not well-formed within this type definition. Note that recursive types are forbidden. [91m |[0m diff --git a/test/typecheck/fail/synonym_rec.expect b/test/typecheck/fail/synonym_rec.expect index 5d205606..3d482f40 100644 --- a/test/typecheck/fail/synonym_rec.expect +++ b/test/typecheck/fail/synonym_rec.expect @@ -7,5 +7,5 @@ Type error: [91m |[0m [[96msynonym_rec.sail[0m]:2:0-10 [91m |[0m 2[96m |[0mtype T = T [91m |[0m [91m |[0m[91m^--------^[0m - [91m |[0m [91m |[0m Recursive types are not allowed + [91m |[0m [91m |[0m Types are not well-formed within this type definition. Note that recursive types are forbidden. [91m |[0m diff --git a/test/typecheck/fail/union_rec.expect b/test/typecheck/fail/union_rec.expect index 2d50cea6..7fd07169 100644 --- a/test/typecheck/fail/union_rec.expect +++ b/test/typecheck/fail/union_rec.expect @@ -9,5 +9,5 @@ Type error: [91m |[0m [91m |[0m[91m^----------[0m [91m |[0m 4[96m |[0m} [91m |[0m [91m |[0m[91m^[0m - [91m |[0m [91m |[0m Recursive types are not allowed + [91m |[0m [91m |[0m Types are not well-formed within this type definition. Note that recursive types are forbidden. [91m |[0m diff --git a/test/typecheck/fail/union_recf.expect b/test/typecheck/fail/union_recf.expect index b07910ba..ec610ae6 100644 --- a/test/typecheck/fail/union_recf.expect +++ b/test/typecheck/fail/union_recf.expect @@ -9,5 +9,5 @@ Type error: [91m |[0m [91m |[0m[91m^----------[0m [91m |[0m 4[96m |[0m} [91m |[0m [91m |[0m[91m^[0m - [91m |[0m [91m |[0m Recursive types are not allowed + [91m |[0m [91m |[0m Types are not well-formed within this type definition. Note that recursive types are forbidden. [91m |[0m diff --git a/test/typecheck/pass/constrained_struct/v1.expect b/test/typecheck/pass/constrained_struct/v1.expect index bf498a36..0b0dda29 100644 --- a/test/typecheck/pass/constrained_struct/v1.expect +++ b/test/typecheck/pass/constrained_struct/v1.expect @@ -7,5 +7,5 @@ Type error: [91m |[0m [[96mconstrained_struct/v1.sail[0m]:10:0-30 [91m |[0m 10[96m |[0mtype MyStruct64 = MyStruct(65) [91m |[0m [91m |[0m[91m^----------------------------^[0m - [91m |[0m [91m |[0m Recursive types are not allowed + [91m |[0m [91m |[0m Types are not well-formed within this type definition. Note that recursive types are forbidden. [91m |[0m |
