Skip to content

Commit 1684793

Browse files
committed
Rerun tests
1 parent 36d0542 commit 1684793

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

compiler/shared/test/diff-ir/IRTailRec.mls

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,10 @@ hello()
411411
//│ let* (x$0) = hello() in -- #2
412412
//│ x$0 -- #1
413413
//│ ╔══[COMPILATION ERROR] not a tail call, as the remaining functions may be impure
414-
//│ ║ l.299: @tailcall hello()
414+
//│ ║ l.396: @tailcall hello()
415415
//│ ╙── ^^^^^
416416
//│ ╔══[COMPILATION ERROR] not a tail call
417-
//│ ║ l.300: @tailcall hello()
417+
//│ ║ l.397: @tailcall hello()
418418
//│ ╙── ^^^^^
419419
//│
420420
//│
@@ -448,7 +448,7 @@ hello()
448448
//│ let* (x$0) = hello() in -- #2
449449
//│ x$0 -- #1
450450
//│ ╔══[COMPILATION ERROR] not a tail call
451-
//│ ║ l.327: @tailcall hello()
451+
//│ ║ l.435: @tailcall hello()
452452
//│ ╙── ^^^^^
453453
//│
454454
//│
@@ -1230,11 +1230,11 @@ a()
12301230
//│ let* (x$0) = a() in -- #2
12311231
//│ x$0 -- #1
12321232
//│ ╔══[COMPILATION ERROR] function `a` is not tail-recursive, but is marked as @tailrec
1233-
//│ ║ l.907: @tailrec
1234-
//│ ║ ^^^^^^^
1233+
//│ ║ l.1203: @tailrec
1234+
//│ ║ ^^^^^^^
12351235
//│ ╟── it could self-recurse through this call, which may not be a tail-call
1236-
//│ ║ l.905: a()
1237-
//│ ╙── ^
1236+
//│ ║ l.1201: a()
1237+
//│ ╙── ^
12381238
//│
12391239
//│
12401240
//│ Strongly Connected Tail Calls:
@@ -1298,11 +1298,11 @@ a()
12981298
//│ let* (x$0) = a() in -- #2
12991299
//│ x$0 -- #1
13001300
//│ ╔══[COMPILATION ERROR] function `a` is not tail-recursive, but is marked as @tailrec
1301-
//│ ║ l.955: @tailrec
1302-
//│ ║ ^^^^^^^
1301+
//│ ║ l.1273: @tailrec
1302+
//│ ║ ^^^^^^^
13031303
//│ ╟── it could self-recurse through this call, which may not be a tail-call
1304-
//│ ║ l.957: fun b() = A(c(), @tailcall a())
1305-
//│ ╙── ^
1304+
//│ ║ l.1275: fun b() = A(c(), @tailcall a())
1305+
//│ ╙── ^
13061306
//│
13071307
//│
13081308
//│ Strongly Connected Tail Calls:
@@ -1413,13 +1413,13 @@ a()
14131413
//│ let* (x$0) = a() in -- #2
14141414
//│ x$0 -- #1
14151415
//│ ╔══[COMPILATION ERROR] not a tail call, as the remaining functions may be impure
1416-
//│ ║ l.1053: fun b() = A(@tailcall a(), c())
1416+
//│ ║ l.1391: fun b() = A(@tailcall a(), c())
14171417
//│ ╙── ^
14181418
//│ ╔══[COMPILATION ERROR] function `a` is not tail-recursive, but is marked as @tailrec
1419-
//│ ║ l.1051: @tailrec
1419+
//│ ║ l.1389: @tailrec
14201420
//│ ║ ^^^^^^^
14211421
//│ ╟── it could self-recurse through this call, which may not be a tail-call
1422-
//│ ║ l.1053: fun b() = A(@tailcall a(), c())
1422+
//│ ║ l.1391: fun b() = A(@tailcall a(), c())
14231423
//│ ╙── ^
14241424
//│
14251425
//│
@@ -1487,7 +1487,7 @@ a()
14871487
//│ |@|tailcall| |1|
14881488
//│ Parsed: {@tailcall 1}
14891489
//│ ╔══[COMPILATION ERROR] @tailcall may only be used to annotate function calls
1490-
//│ ║ l.1129: @tailcall 1
1490+
//│ ║ l.1486: @tailcall 1
14911491
//│ ╙── ^^^^^^^^
14921492
//│
14931493
//│
@@ -1511,7 +1511,7 @@ a()
15111511
//│ |@|tailrec| |1|
15121512
//│ Parsed: {@tailrec 1}
15131513
//│ ╔══[COMPILATION ERROR] @tailrec may only be used to annotate functions
1514-
//│ ║ l.1146: @tailrec 1
1514+
//│ ║ l.1510: @tailrec 1
15151515
//│ ╙── ^^^^^^^
15161516
//│
15171517
//│
@@ -1537,7 +1537,7 @@ foo()
15371537
//│ |#fun| |foo|(||)| |#=|→|@|tailrec| |foo|(||)|←|↵|foo|(||)|
15381538
//│ Parsed: {fun foo = () => {@tailrec foo()}; foo()}
15391539
//│ ╔══[COMPILATION ERROR] @tailrec is for annotating functions; try @tailcall instead
1540-
//│ ║ l.1164: @tailrec foo()
1540+
//│ ║ l.1535: @tailrec foo()
15411541
//│ ╙── ^^^^^^^
15421542
//│
15431543
//│
@@ -1572,7 +1572,7 @@ foo()
15721572
//│ |@|tailcall|↵|#fun| |foo|(||)| |#=|→|foo|(||)|←|↵|foo|(||)|
15731573
//│ Parsed: {fun foo = () => {foo()}; foo()}
15741574
//│ ╔══[COMPILATION ERROR] @tailcall is for annotating function calls; try @tailrec instead
1575-
//│ ║ l.1187: @tailcall
1575+
//│ ║ l.1568: @tailcall
15761576
//│ ╙── ^^^^^^^^
15771577
//│
15781578
//│

0 commit comments

Comments
 (0)