Skip to content

Fix signature caching in NamedType #4593

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

Merged
merged 3 commits into from
Jun 6, 2018

Conversation

smarter
Copy link
Member

@smarter smarter commented May 28, 2018

No description provided.

smarter added 3 commits May 28, 2018 16:57
Underdefined signatures cannot be cached, this matches the logic in
MethodicType.

I haven't managed to create a testcase that fails without this, but it
should be the Right Thing to do anyway.
Avoid duplication between MethodicType and NamedType
`fixSignature` no longer exists. Instead, we expect the users of
signatures to not cache underdefined signatures.
@smarter smarter force-pushed the fix/signature-caching branch from ab2ddb9 to 3652d94 Compare May 28, 2018 14:58
@smarter
Copy link
Member Author

smarter commented May 28, 2018

test performance please

@dottybot
Copy link
Member

performance test scheduled: 6 job(s) in queue, 1 running.

@dottybot
Copy link
Member

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4593/ to see the changes.

Benchmarks is based on merging with master (0b55397)

@smarter smarter requested a review from odersky May 28, 2018 18:54
Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@odersky odersky merged commit ffc17d0 into scala:master Jun 6, 2018
@Blaisorblade Blaisorblade deleted the fix/signature-caching branch June 6, 2018 11:15
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.

3 participants