You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: no implicit argument of type App.Length.Aux[App.HCons[Int, App.HNil], App.One] was found for parameter x of method summon in object DottyPredef.
I found:
App.Length.hconsLength[H, T]
But method hconsLength in object Length does not match type App.Length.Aux[App.HCons[Int, App.HNil], App.One].
summon[Length.Aux[HCons[Int, HNil], One]]
Expectation
summon[Length.Aux[HCons[Int, HNil], One]] should compile.
If we replace line (*) with (**) then summon[Length.Aux[HCons[Int, HNil], One]] compiles.
Also if we resolve implicits manually, summon[Length.Aux[HCons[Int, HNil], One]](using Length.hconsLength(using Length.hnilLength)) compiles.
The text was updated successfully, but these errors were encountered:
Minimized code
In Dotty 0.23.0-RC1 with
Output
summon[Length.Aux[HCons[Int, HNil], One]]
doesn't compileExpectation
summon[Length.Aux[HCons[Int, HNil], One]]
should compile.If we replace line (*) with (**) then
summon[Length.Aux[HCons[Int, HNil], One]]
compiles.Also if we resolve implicits manually,
summon[Length.Aux[HCons[Int, HNil], One]](using Length.hconsLength(using Length.hnilLength))
compiles.The text was updated successfully, but these errors were encountered: