-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Type uninitializedThis is not assignable #2163
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
@felixmulder, could you please try to minimize? |
No, I really don't want to 😢 But I'll do it, for you...maybe on Monday 😂 |
Does it happen on the bootstrapped version or during the bootstrap itself? |
It fails on that commit: http://dotty-ci.epfl.ch/lampepfl/dotty/1529/2 and it's fine at: db6fb45 in http://dotty-ci.epfl.ch/lampepfl/dotty/1514/2 |
The bug has nothing to do with backend. Lamda lift is to blame. |
Minimal code to reproduce the problem: class Base(f: Int => Int) {
f(3)
}
class Child(x: Int) extends Base(y => x + y)
object Test {
def main(args: Array[String]): Unit = new Child(4)
} |
fix #2163: don't narrow liftedOwner if symbol is InSuperCall
In b1801a4f. The backend explodes with:
The text was updated successfully, but these errors were encountered: