Skip to content

Commit

Permalink
make types in test recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-snezhko committed Jun 15, 2023
1 parent 4f4cb60 commit 738dbbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions compiler/test/suites/cycles.re
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("cyclic references", ({test, testSkip}) => {
assertRun(
"cycles1",
{|
record A {
record rec A {
mut a: Option<A>
}
let x = { a: None }
Expand All @@ -22,7 +22,7 @@ describe("cyclic references", ({test, testSkip}) => {
assertRun(
"cycles2",
{|
record A {
record rec A {
val: Number,
mut a: Option<A>
}
Expand All @@ -41,7 +41,7 @@ describe("cyclic references", ({test, testSkip}) => {
assertRun(
"cycles3",
{|
record A {
record rec A {
val: Number,
mut next: Option<A>
}
Expand Down Expand Up @@ -136,7 +136,7 @@ describe("cyclic references", ({test, testSkip}) => {
assertRun(
"cycles4",
{|
enum R {
enum rec R {
Rec(Box<Option<R>>),
}
Expand All @@ -151,7 +151,7 @@ describe("cyclic references", ({test, testSkip}) => {
assertRun(
"cycles5",
{|
enum R {
enum rec R {
Rec(Array<Option<R>>),
}
Expand Down

0 comments on commit 738dbbe

Please sign in to comment.