-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Changes to StagedTuple #5409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is the source of the issue is https://github.com/lampepfl/dotty/pull/5392/files#diff-901fed2e7fd7e86c4b92a9f7198b0cc7R797.
|
It works if we use the previous version of the code inline def unapply[H, T <: Tuple](x: H *: T) =
(NonEmptyTuple.dynamicHead(x), NonEmptyTuple.dynamicTail(x)) Which is also what gets inlined in the non-staged version and would be by the staged. |
Uh oh!
There was an error while loading. Please reload this page.
I noted the following problems when trying to make StageTuple optional:
Tuple.stageIt
is turned on, we fail with the following two error messages in dotty-bootstrapped/compile:I am curious why the other 6 occurrences of splices do not give errors?
Other issues with
StagedTuple
.scala
package.stagedCons
vsheadStaged
.The text was updated successfully, but these errors were encountered: