-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Crash in ExplicitOuter when calling new on a type alias to an inner class #1865
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 similar to #1755 |
Here's a minimization that still triggers the crash (I didn't know you could call class AbsCell {
type T = Node
class Node
}
object Test {
def test: Unit = {
val cell = new AbsCell
new cell.T
}
} |
@smarter The original code contained a structural type but your minimization does not. So, yes, it's something else. |
odersky
added a commit
that referenced
this issue
Jan 5, 2017
Fix #1865: Compute outer path at right phase
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scalac compiles but dotc crashes.
$ cat abc.scala
$ dotc abc.scala
The text was updated successfully, but these errors were encountered: