File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
| ^^^^^^^^^^
4
4
| (value : V) is not a valid singleton type, since it is not an immutable path
5
5
| Inline parameters are not considered immutable paths and cannot be used as
6
- | singleton types.
7
- |
6
+ | singleton types.
7
+ |
8
8
| Hint: Removing the `inline` qualifier from the `value` parameter
9
9
| may help resolve this issue.
10
10
|
Original file line number Diff line number Diff line change 5
5
|---------------------------------------------------------------------------------------------------------------------
6
6
| Explanation (enabled by `-explain`)
7
7
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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.
9
9
| 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.
12
12
| To resolve this, ensure that a `scala.quoted.Type[T]` is available, either through a context-bound or explicitly.
13
13
---------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments