Skip to content

Correct the position of root symbols unpickled from TASTY #4112

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 1 commit into from
Mar 15, 2018

Conversation

smarter
Copy link
Member

@smarter smarter commented Mar 13, 2018

This require mutating Symbol#coord since the position is not known when
the symbol is created. This is needed to get -Ythrough-tasty tests/pos/t247.scala to compile because the position of bridge
definitions is sometimes set using the position of the enclosing class.

@smarter smarter requested a review from odersky March 13, 2018 22:39
@smarter smarter force-pushed the fix/tasty-root-pos branch from 66897b0 to 6552434 Compare March 13, 2018 22:40
This require mutating Symbol#coord since the position is not known when
the symbol is created. This is needed to get `-Ythrough-tasty
tests/pos/t247.scala` to compile because the position of bridge
definitions is sometimes set using the position of the enclosing class.
@smarter smarter force-pushed the fix/tasty-root-pos branch from 6552434 to d76e857 Compare March 13, 2018 23:04
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.

LGTM

@smarter smarter merged commit 31e0629 into scala:master Mar 15, 2018
@allanrenucci allanrenucci deleted the fix/tasty-root-pos branch March 15, 2018 16:18
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.

2 participants