Skip to content

[do not merge] Demonstrate that signature caching is broken #8798

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

Closed
wants to merge 1 commit into from

Conversation

smarter
Copy link
Member

@smarter smarter commented Apr 25, 2020

See #8799 for more information.

The test currently fails with:

Wrong cached signature at phase elimErasedValueType for (Foo.this.value : (): scala.runtime.BoxedUnit).
Actual denotation signature: Signature(List(),scala.runtime.BoxedUnit)
Cached ref signature: Signature(List(),),

The test passes if I tweak NamedType to not cache signatures.

See scala#8799 for more information.

The test currently fails with:

Wrong cached signature at phase elimErasedValueType for (Foo.this.value : (): scala.runtime.BoxedUnit).
Actual denotation signature: Signature(List(),scala.runtime.BoxedUnit)
Cached ref signature: Signature(List(),),

The test passes if I tweak NamedType to not cache signatures.
@smarter smarter force-pushed the broken-signature-caching branch from e517c8f to 472ddb2 Compare April 25, 2020 20:31
@smarter smarter closed this May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant