Comments (2)
I'm not using -Yrangepos yet I get an X for that
@reibitto in some cases a scalacOptions
can be added by another setting or plugin. For instance -Yrangepos
is added by sbt-scala3-migrate
itself. The plugin needs it to run Scalafix in the migrateSyntax
command.
So the good news is you don't need to do anything about it. But I don't really know how to make this clearer in the output because sometime -Yrangepos
is added manually so people need to know it is not available anymore...
the -Xfatal-warnings suggestion seems backwards.
That's true. All the -W
and -V
options were added in Scala 2.13 quite recently and unfortunately we don't have them yet in Scala 3. This is planned, but for now we have to do without them.
A good resource for comparing the Scala 3 and Scala 2.13 options is https://scalacenter.github.io/scala-3-migration-guide/docs/compiler-options/compiler-options-table.html
from scala3-migrate.
I wasn't sure if I should report this separately or bucket it into this one, but I also noticed some possible issues with the options suggested.
I'm not using -Yrangepos
yet I get an X for that. Also, the -Xfatal-warnings
suggestion seems backwards.
Edit: The -Xfatal-warnings
one might not be backwards if that's the one that Scala 3 wants. I thought that because I'm not using -Werror
in my build file, yet that's what it seems to think I have set.
from scala3-migrate.
Related Issues (20)
- Changes not saved to build HOT 5
- migrate-libs -> 2 versions of the same dependency HOT 2
- Be smarter about scala.js HOT 3
- Option to not suggest 2.13 libraries HOT 2
- [help wanted] asTerm called on not-a-Term val HOT 12
- New release for RC2? HOT 4
- Java library being flagged as containing macros HOT 2
- Support RC3
- Move to 3.0.0-RC3 HOT 1
- Publishing migrate-rules as a 2.12 artifact HOT 3
- Migration failed because of null
- improve the test suite for scala-migrate to detect wrong inferred types
- confusion around necessity of adding explicit result types and implicits HOT 7
- Modules were resolved with conflicting cross-version suffixes in ProjectRef HOT 4
- Failed to run scalafix with ProcedureSyntax, fix.scala213.ExplicitNullaryEtaExpansion, fix.scala213.ParensAroundLambda, fix.scala213.ExplicitNonNullaryApply, fix.scala213.Any2StringAdd on because missing symbol: jdk.internal.HotSpotIntrinsicCandidate HOT 2
- SemanticDB not found HOT 1
- NoSuchElementException when running migrateTypes HOT 1
- scala3-migrate may need a newer scalameta version HOT 8
- Please publish for Scala 2.13.14
- _3 suffix added to pure Java projects HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scala3-migrate.