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] 20 | comp.whyHelloThere(3) // error: should work
[error] | ^^^^^^^^^^^^^^^^^^
[error] | value whyHelloThere is not a member of Comp[Int, CtorType.Props]
[error] one error found
Expectation
It works in Scala 2.x, it should work here too.
Workaround
Duplicate the autoCtor for each subclass of CtorType, remove the CT type param, and hardcode the CT value.
Compiler version
3.0.0-RC3
Minimized code
Output
Expectation
It works in Scala 2.x, it should work here too.
Workaround
Duplicate the
autoCtor
for each subclass ofCtorType
, remove theCT
type param, and hardcode theCT
value.The text was updated successfully, but these errors were encountered: