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

improvement: Simplify resolving presentation compiler #6258

Merged
merged 2 commits into from Mar 27, 2024

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Mar 26, 2024

Previously, we would have a lot of fallbacks that would be used if mtags was not avaiable. Now, each version of the compiler has a stable version of the compiler being released so there is no longer a reason to handle it via fallback. Instead we want to be explicit about what we are resolving.

It seems that previous way was flaky and while I can't reproduce the issues people had, I think simplifying it would help out at lest to get the exact failure of what is going on.

Previously, we would have a lot of fallbacks that would be used if mtags was not avaiable. Now, each version of the compiler has a stable version of the compiler being released so there is no longer a reason to handle it via fallback. Instead we want to be explicit about what we are resolving.

It seems that previous way was flaky and while I can't reproduce the issues people had, I think simplifying it would help out at lest to get the exact failure of what is going on.
Copy link
Contributor

@kasiaMarek kasiaMarek left a comment

Choose a reason for hiding this comment

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

If resolve type Nightly doesn't exist anymore we should completely delete it.

@Quafadas
Copy link

I'd be very happy to try this, when it hits nightly...

@tgodzik
Copy link
Contributor Author

tgodzik commented Mar 27, 2024

If resolve type Nightly doesn't exist anymore we should completely delete it.

Removed!

@tgodzik tgodzik requested a review from kasiaMarek March 27, 2024 12:49
@tgodzik tgodzik merged commit 353c888 into scalameta:main Mar 27, 2024
25 of 26 checks passed
@tgodzik tgodzik deleted the resolve-first branch March 27, 2024 14:10
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.

None yet

3 participants