Skip to content

Fix #7159: Add missing asSeenFrom when updating denotations #7166

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 2 commits into from
Sep 6, 2019

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 4, 2019

@nicolasstucki I verified the fix solves #7159, but don't know how to make a test out of it. Maybe you can add one?

@nicolasstucki
Copy link
Contributor

tests/pos/i7159.scala should be tested from tasty on the CI. I found the bug because it failed on the CI. I will double check.

@nicolasstucki
Copy link
Contributor

Yes, it passed the from-tasty tests. You can execute tests that run on the CI locally with

sbt> testCompilation --from-tasty tests/pos/i7159.scala

For SingleDenotations that are not SymDenotations: Track the prefix
under which they were created. This is necessary so that ElimOpaque
can work correctly for such denotations.
@nicolasstucki
Copy link
Contributor

test performance please

@dottybot
Copy link
Member

dottybot commented Sep 6, 2019

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

Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

LGTM

We should see what the benchmarks look like before merging

@dottybot
Copy link
Member

dottybot commented Sep 6, 2019

Performance test finished successfully:

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

Benchmarks is based on merging with master (633696a)

@nicolasstucki nicolasstucki merged commit d77c70c into scala:master Sep 6, 2019
@nicolasstucki nicolasstucki deleted the fix-#7159 branch September 6, 2019 19:37
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