-
Notifications
You must be signed in to change notification settings - Fork 21
-Xsource:...
should be documented as not for use in production/publishing
#11661
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
Comments
I actually think more people would be happier if they used If testedness of |
I don't have specific behavior in mind. It's just we don't run the Scala test suite with |
To expand on my "then we should fix that instead" position, I think we should be fairly conservative on what we include into |
* renames for Project fields * Disable eta-sam lint scala/bug#11644 * Enable compiler plugin & macro classloader caching for faster builds (however, this supposedly breaks macros with global mutable state...) scala/scala#6412 https://twitter.com/olafurpg/status/1191299377064824832 > The caching logic for compiler plugins is enabled by default in Bloop and that one does make a difference, around 20/30%, see scala/scala-dev#458 * Don't use -Xsource: since it's not recommended scala/bug#11661 * fix Ybackend-parallelism option * empty `enabled` default parameter for Plugins
A heavy hand in the linked PR. |
Just a note that over the course of the last 3.5 years, things have changed and |
It would be nice to get the project on It's so much nicer to write |
Oh, actually bootstrap using it? That's an idea that hadn't occurred to me before... |
Uh oh!
There was an error while loading. Please reload this page.
I have seen it come up many many times on Gitter and elsewhere, that people thought
-Xfuture
(which doesn't exist anymore) or-Xsource:...
was something it was just fine to sprinkle on theirscalacOptions
without thinking too much about itfor example,
-Xfuture
is included in https://tpolecat.github.io/2017/04/25/scalac-flags.html , which is widely referred to (/cc @tpolecat)over at https://docs.scala-lang.org/overviews/compiler-options/index.html the entry for
-Xsource
just says:I suggest that
-Xsource:...
be documented as something that should only be used for experimenting and to get migration information, you shouldn't enable it when building something you're going to deploy or publishwhy? because these flags enable poorly-tested combinations of possibly half-baked stuff, the version of the compiler you get when you enable this hasn't been QA'ed anywhere near as heavily as the default one has
and since we have published the reference to #8126, I would also suggest that the description on that ticket be improved so that anyone consulting it will see the same warning text
The text was updated successfully, but these errors were encountered: