GithubHelp home page GithubHelp logo

Comments (4)

jdjohnston avatar jdjohnston commented on August 26, 2024 1

OK. I changed my build.sbt to require Scala 2.13.3 (was using 2.13.2) and scala-async 1.0.0-M1 . Also re-enabled -Xasync. Minimal project compiled & ran fine.

BTW, while the snippets of code in README.md are helpful, I found SmokeTest.scala in the test directory to be of the most help in getting started. I have some experience with concurrency & some with Scala, but little with the combination.

from scala-async.

SethTisue avatar SethTisue commented on August 26, 2024

Scala 2.13.3 definitely accepts -Xasync, and yes it is required. I think you must be mistaken that you are actually using 2.13.3.

I fixed the scalaOptions vs scalacOptions thing in 7c494a7 — good catch, thanks.

from scala-async.

jdjohnston avatar jdjohnston commented on August 26, 2024

Strange, when I commented out the -Xasync line in my build.sbt, it ran fine

sbt:async> scalaVersion
[info] 2.13.2

(Oops, 2.13.3 was the command-line scalac, not the one sbt is using)

from scala-async.

SethTisue avatar SethTisue commented on August 26, 2024

oh, aha, you must be using the old 0.x plugin, which doesn't use -Xasync. try it with 1.0.0-M1

@retronym mind updating the README to have appropriate advice about what version(s) to use?

from scala-async.

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.