Skip to content
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

Projection on nonexistant singleton type in constructor parameter crashes compiler #9070

Closed
scabug opened this issue Jan 7, 2015 · 2 comments
Closed

Comments

@scabug
Copy link

@scabug scabug commented Jan 7, 2015

This is sufficient to cause a compiler crash:

class A(b: c.type#D)

assuming c does not exist.

This gives the expected error in Scala 2.10.4, and the attached stacktrace in Scala 2.11.4.

@scabug
Copy link
Author

@scabug scabug commented Jan 7, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9070?orig=1
Reporter: @propensive
Affected Versions: 2.11.1, 2.11.2, 2.11.4
Attachments:

  • stack.txt (created on Jan 7, 2015 2:46:10 PM UTC, 13129 bytes)
@scabug
Copy link
Author

@scabug scabug commented Jan 8, 2015

@retronym said (edited on Jan 8, 2015 5:20:46 AM UTC):
Duplicate of #8534 which is fixed in the freshly baked 2.11.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants