-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add Stable Presentation Compiler #17528
Merged
+29,662
−51
Merged
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
63d3a35
compiler util: collect comments during Scanner phase and store it in …
rochala fde037a
metals initial version: 41e96ee33f82 copied into dotty
rochala 9f271fe
changes: make mtags compile in dotty, changes metals code and adds ne…
rochala 38f58dc
additions: copy tests from metals version: 41e96ee33f82 , create diff…
rochala 1a02dbf
refactor: change package from scala.meta to dotty.tools.pc
rochala fffe497
refactor: organize imports, unify formatting with mtags in metals
rochala 3e857a2
update Build.scala and build.sbt to support nonbootstrapped compiler,…
rochala e643f9f
implement FIXME from previous commit
rochala 3bf65da
add nightly mtags-shared as dependency instead of local snapshot
rochala 34814ce
remove unnecessary changes in Comments.scala
rochala f2d8c64
remove metals wrappers around compiler implementation created to work…
rochala 32c50e0
update NOTICE.md
rochala d823951
use java8 compatible api
rochala 7074f0d
Mock Symbol Search documentation and definition
rochala 122f36f
Revert incorrectly removed line
rochala 421380c
fix build.sbt and windows tests
rochala f59457c
Filter tests to contain only completions that should be available on …
rochala 6ad9dc7
Bump presentatation compiler to c8ef4e0
rochala 5ee339d
use compiler printer instead of ShortenedNames with ShortType
rochala aa7542f
undo unnecessary changes, add -Wunsued:all, remove unused
rochala 2d6aff2
Remove -Wunused from build.sbt, undo scalafmt
rochala 9856331
apply review comments, inline toTextPrefix
rochala 0869f93
update metals to latest commit - 7d0397b
rochala ae8ee2f
remove check for JavaStatic, as they are no longer necessary
rochala 2b34077
remove flaky mock
rochala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be ok to remove
scala3-language-server
now, no?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am almost sure that the coverage of
scala3-language-server
is not a subset ofmtags
tests, which may result in lost test cases. We would either have to verify if each test has its substitute inpresentation-compiler
suite and migrate missing cases.It should be done, but may require additional time to verify all cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but would be good to have an issue or a plan about it. This might be done even by someone less proficient in the compiler.