File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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 |
Original file line number Diff line number Diff line change 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 ---------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments