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: Remove scalameta parsing in InferredTypeProvider #4954

Merged
merged 1 commit into from Feb 10, 2023

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Feb 8, 2023

Previously, we would use scalameta parser to correctly insert type in some places. Now, we removed it to enable easier migration of the module to scala3-compiler

Previously, we would use scalameta parser to correctly insert type in some places. Now, we removed it to enable easier migration of the module to scala3-compiler
@tgodzik tgodzik marked this pull request as ready for review February 8, 2023 17:14
@@ -203,20 +203,6 @@ final class InferredTypeProvider(
def simpleType =
typeNameEdit ::: imports

def tupleType(applied: AppliedType) =
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like this was needed for some earlier versions.

Copy link
Member

@jkciesluk jkciesluk left a comment

Choose a reason for hiding this comment

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

LGTM

@tgodzik tgodzik merged commit cbab5d3 into scalameta:main Feb 10, 2023
@tgodzik tgodzik deleted the remove-scalameta-parsing branch February 10, 2023 17:51
rochala added a commit to rochala/metals that referenced this pull request Feb 20, 2023
tgodzik pushed a commit that referenced this pull request Feb 20, 2023
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

2 participants