Skip to content

Commit d1b2b8a

Browse files
committed
Post suggestion fixes
1 parent 0223830 commit d1b2b8a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/neg/i23406.check

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
-- Error: tests/neg/i23406.scala:18:7 ----------------------------------------------------------------------------------
2-
18 | funny[String] // error
1+
-- Error: tests/neg/i23406.scala:21:7 ----------------------------------------------------------------------------------
2+
21 | funny[String] // error
33
| ^^^^^^^^^^^^^
44
| value x is unusable in method Test because it refers to an erased expression
55
| in the selector of an inline match that reduces to
@@ -18,8 +18,8 @@
1818
7 | case x: String => x
1919
| ^
2020
--------------------------------------------------------------------------------------------------------------------
21-
-- Error: tests/neg/i23406.scala:19:9 ----------------------------------------------------------------------------------
22-
19 | problem[String] // error
21+
-- Error: tests/neg/i23406.scala:22:9 ----------------------------------------------------------------------------------
22+
22 | problem[String] // error
2323
| ^^^^^^^^^^^^^^^
2424
| value x is unusable in method Test because it refers to an erased expression
2525
| in the selector of an inline match that reduces to

tests/neg/i23406.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ inline def alsoOk[T](erased x: T): String =
2020
def Test =
2121
funny[String] // error
2222
problem[String] // error
23-
ok[String]
24-
alsoOk[String](compiletime.erasedValue)
23+
ok[String]
24+
alsoOk[String](compiletime.erasedValue)

0 commit comments

Comments
 (0)