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

ExistentialType reaches GenASM #7552

Closed
scabug opened this issue Jun 4, 2013 · 2 comments
Closed

ExistentialType reaches GenASM #7552

scabug opened this issue Jun 4, 2013 · 2 comments
Labels

Comments

@scabug
Copy link

scabug commented Jun 4, 2013

As part of scala/scala#2575 , akka-actors was built using the new backend , which revealed that existential types were reaching the bytecode emitter.

[error] ExistentialType reached GenBCode: akka.dispatch.RequiresMessageQueue[_]

The relevant code section in GenASM is:

// !!! Iulian says types which make no sense after erasure should not reach here,
// which includes the ExistentialType, AnnotatedType, RefinedType.  I don't know
// if the first two cases exist because they do or as a defensive measure, but
// at the time I added it, RefinedTypes were indeed reaching here.
case ExistentialType(_, t)           => toTypeKind(t)
case AnnotatedType(_, t, _)          => toTypeKind(t)
case RefinedType(parents, _)         => parents map toTypeKind reduceLeft lub
@scabug
Copy link
Author

scabug commented Jun 4, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7552?orig=1
Reporter: @magarciaEPFL
Affected Versions: 2.11.0-M3
See #7122

@scabug scabug added the backend label Apr 7, 2017
@SethTisue
Copy link
Member

closing stale backend tickets; comment/reopen if you have evidence this is still applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants