Giter VIP home page Giter VIP logo

Comments (2)

adpi2 avatar adpi2 commented on August 25, 2024 1

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.

reibitto avatar reibitto commented on August 25, 2024

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.

image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.