Skip to content

Commit 4580d88

Browse files
committed
Fixed failing tests.
1 parent b5a0463 commit 4580d88

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

tests/neg-custom-args/captures/boundary.check

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
|--------------------------------------------------------------------------------------------------------------------
1919
|Inline stack trace
2020
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21-
|This location contains code that was inlined from boundary.scala:86
22-
86 | val local = Label[T]()
21+
|This location contains code that was inlined from boundary.scala:87
22+
87 | val local = Label[T]()
2323
| ^^^^^^^^^^
2424
--------------------------------------------------------------------------------------------------------------------
2525
|
@@ -58,8 +58,8 @@
5858
|--------------------------------------------------------------------------------------------------------------------
5959
|Inline stack trace
6060
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
61-
|This location contains code that was inlined from boundary.scala:88
62-
88 | catch case ex: Break[T] @unchecked =>
61+
|This location contains code that was inlined from boundary.scala:89
62+
89 | catch case ex: Break[T] @unchecked =>
6363
| ^
6464
--------------------------------------------------------------------------------------------------------------------
6565
|

tests/neg-custom-args/captures/try-boundary.check

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
|--------------------------------------------------------------------------------------------------------------------
1717
|Inline stack trace
1818
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
19-
|This location contains code that was inlined from boundary.scala:85
20-
85 | inline def apply[T](inline body: Label[T] ?=> T): T =
19+
|This location contains code that was inlined from boundary.scala:86
20+
86 | inline def apply[T](inline body: Label[T] ?=> T): T =
2121
| ^
22-
86 | val local = Label[T]()
23-
87 |...
24-
90 | else throw ex
22+
87 | val local = Label[T]()
23+
88 |...
24+
91 | else throw ex
2525
--------------------------------------------------------------------------------------------------------------------
2626
|
2727
| longer explanation available when compiling with `-explain`

0 commit comments

Comments
 (0)