Lift Scala Settings from experimental to stabilized#20199
Merged
rochala merged 19 commits intoscala:mainfrom May 7, 2024
Merged
Lift Scala Settings from experimental to stabilized#20199rochala merged 19 commits intoscala:mainfrom
rochala merged 19 commits intoscala:mainfrom
Conversation
35a00f5 to
d447989
Compare
Contributor
|
This has been decided to be included in the 3.5.0 release. Note: The following flags will have to not print the deprecation warning, despite them being lifted to
The deprecation message will be added in a future minor release (no earlier than 3.7.x), and we will remove the old syntax no later than before the next LTS version (>3.3.x). |
Contributor
|
We should consider removing |
d447989 to
9af7daa
Compare
74ca04b to
afba4bd
Compare
bishabosha
reviewed
May 6, 2024
bishabosha
reviewed
May 6, 2024
bishabosha
approved these changes
May 6, 2024
Contributor
Author
|
Don't auto merge this, we're still waiting for community build (full community build) to finish 😅 |
65b64c7 to
df8e8ba
Compare
armanbilge
added a commit
to armanbilge/sbt-typelevel
that referenced
this pull request
Jul 15, 2024
armanbilge
added a commit
to armanbilge/sbt-typelevel
that referenced
this pull request
Jul 15, 2024
armanbilge
added a commit
to armanbilge/sbt-typelevel
that referenced
this pull request
Jul 15, 2024
lenguyenthanh
added a commit
to lenguyenthanh/scalac-options
that referenced
this pull request
Jul 15, 2024
kind-project and other has lifted from experiment to stabilized in: scala/scala3#20199
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes: #19693
This is the tracking list from the issue and the status of migraton.
-X-Yresolve-term-conflict-YnoGenericSig-Ydumpclasses-YjarCompressionLevel-YkindProjector-YdropComments-YcookComments-YreadComments-YnoDecodeStacktraces-YnoEnrichErrorMessages-YdebugMacros-YjavaTasty- deprecate in 3.7.0-YjavaTastyOutput- deprecate in 3.7.0-YallowOutlineFromTasty- deprecate in 3.7.0-W-Wsafe-init--Yforce-inline-while-typing// Note: this was already removed by 05eb7f7-YfromTastyIgnoreList// this flag was not decided-YoutputOnlyTastyI suppose 2 last flags that have to be decided are maintained by @bishabosha
Do you know their status ?
Other than that, this PR implemented a deprecation mechanism for the future e.g.
EDIT:
As it was decided, options responsible for pipelining will be retained until 3.7.0.
The code is commented and following PR which will deprecate them will be created after merging this one.
EDIT2:
-Xlintis a very problematic flag. It was added into the compiler in 3.4 bypassing argument verification. Then in the future, when it was deprecated in favour of-Wshadowwe couldn't exactly map them 1-1, and it was deprecated in following way:-Xlintis valid flag,-Xlintwas skipped as it was not implemented,-Xlintwas implemented allowing forall,private-shadowandtype-parameter-shadowoptions. It also bypassed argument verification allowing standalone-Xlintto be ignored, not reported as error,-Wshadow. We didn't want to commit this mistake again and allow standalone-Wshadowthus when it was deprecated, we didn't handle it as we should (deprecated option should trigger replacement when possible).That's why I'm retaining the previous behaviour of
-Xlint. It will be removed in the future versions as it is already deprecated.