Comments (3)
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.
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.
Eventually sbt will support Scala 3 directly, without requiring an extra plugin: sbt/sbt#6080
from scala3-example-project.
Related Issues (17)
- `sbt compile` fails with global ammonite dependency HOT 1
- Update gitter link in README
- Travis CI Fails HOT 1
- Travis fails: it takes an incorrect nightly build version
- How to use sbt plugin published in Scala 2 ? HOT 1
- doc link auto-parameter-tupling.html doesn't work HOT 3
- upgrade to M3 and adjust code
- Add CLA HOT 1
- Move tests to GitHub Actions HOT 1
- Move `mill` branch to `dotty-staging/scala3-example-project` HOT 6
- Move `scala3doc` branch to `dotty-staging/scala3-example-project` HOT 1
- scala 3 vs scala 2 HOT 4
- Update Dotty to Scala 3 in README HOT 2
- Example usage @threadUnsafe annotation HOT 2
- Type lambdas example not clear
- SBT fails to resolve dependency: wartremover HOT 4
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-example-project.