-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ParamForwarding: questions #783
Comments
To limit the search space, and make it more predictable.
And we also need a witness for the parameter accessor later on (that's something pickling/unpickling needs, for instance) |
@odersky following examples from #776 scalac does not create such method. The examples in #776 also suggest that we cannot create |
ParamForwarding #783: answer my own question.
https://github.com/lampepfl/dotty/blob/master/src/dotty/tools/dotc/transform/ParamForwarding.scala#L22
I have several questions to what this phase does:
def x: T = super.x.asInstanceOf[T]
does. (I guess the answer is that types could be different, but I want to make sure that there are no other reasons)The text was updated successfully, but these errors were encountered: