Skip to content

Commit acddcbc

Browse files
committed
bugfix: Fix misformatted tests
1 parent 169f6a8 commit acddcbc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/neg/21538.check

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
| ^^^^^^^^^^
44
| (value : V) is not a valid singleton type, since it is not an immutable path
55
| Inline parameters are not considered immutable paths and cannot be used as
6-
| singleton types.
7-
|
6+
| singleton types.
7+
|
88
| Hint: Removing the `inline` qualifier from the `value` parameter
99
| may help resolve this issue.
1010
|

tests/neg/i21696.check

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
|---------------------------------------------------------------------------------------------------------------------
66
| Explanation (enabled by `-explain`)
77
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
8-
| Referencing `T` inside a quoted expression requires a `scala.quoted.Type[T]` to be in scope.
8+
| Referencing `T` inside a quoted expression requires a `scala.quoted.Type[T]` to be in scope.
99
| Since Scala is subject to erasure at runtime, the type information will be missing during the execution of the code.
10-
| `scala.quoted.Type[T]` is therefore needed to carry `T`'s type information into the quoted code.
11-
| Without an implicit `scala.quoted.Type[T]`, the type `T` cannot be properly referenced within the expression.
10+
| `scala.quoted.Type[T]` is therefore needed to carry `T`'s type information into the quoted code.
11+
| Without an implicit `scala.quoted.Type[T]`, the type `T` cannot be properly referenced within the expression.
1212
| To resolve this, ensure that a `scala.quoted.Type[T]` is available, either through a context-bound or explicitly.
1313
---------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)