Git Product home page Git Product logo

Comments (3)

SethTisue avatar SethTisue commented on June 12, 2024

I tried to reproduce this with the given build.sbt and a project/plugins.sbt of

addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")

and I didn't get the same error.

So I suspect there is something different about what you're doing, but I don't know what.

from scala3-example-project.

dejvid avatar dejvid commented on June 12, 2024

Interesting... Now that I have added this line to project/plugins.sbt

addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")

it works. Also works now with 0.5.0. So it doesn't automatically add the dotty plugin by specifying scala version to 3.0.0-M2.

Thanks for your help.

The conclusion:
So if you are running SBT from the command line you have to specify sbt-dotty plugin. But in my case, I was doing the SBT project sync with the IntelliJ idea(2020.3). So I think this issue is related to IntelliJ Idea when it syncs the sbt project and it doesn't take into account plugins.sbt while doing that. Specifying sbt-dotty plugin in IntellJ Idea project doesn't resolve this error. So I think this is not related to this project. You can close the issue.

from scala3-example-project.

SethTisue avatar SethTisue commented on June 12, 2024

Eventually sbt will support Scala 3 directly, without requiring an extra plugin: sbt/sbt#6080

from scala3-example-project.

Related Issues (17)

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.