Comments (4)
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.
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.
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.
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)
- Heed deprecation warnings by on 2.12 (master) branch
- Publish version 0.10? HOT 10
- a pure expression does nothing in statement position
- relicense under Apache 2.0 HOT 1
- scala.reflect.internal.annotations.uncheckedBounds in compiler mirror not found HOT 10
- publish for Scala 2.13.0-RC2 HOT 2
- publish for Scala 2.13.0-RC3 HOT 3
- Scala 3 / Dotty plans? HOT 18
- Async.async gives "nullary-override" warning when not provided with explicit type HOT 5
- Add Scala 2.12.12 back into .travis.yml before releasing 1.0
- Write an deep dive technical doc
- Harmonize treatment of `NonFatal` exceptions with `Future.apply { .. }`
- Support for cats-effect IO HOT 2
- Cross-publish for Scala.JS? HOT 3
- Build should declare a `versionScheme` HOT 1
- Is async macro leaking? HOT 9
- Publish version 1.0.1 HOT 6
- what if we don't care the response of async execute , but it should be complete
- False warnings with scalac-option `-Wnonunit-statement` 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 scala-async.