Closed danicheg closed 2 years ago
Hmm, why not use the MacrotaskExecutor
like the warning suggests?
@armanbilge because it brings new dependency and needs full-fledged testing. And yeah, I'm not an actual ScalaJS user.
Damn it, Scala 3 doesn't contain -P:scalajs:nowarnGlobalExecutionContext
option :(
FWIW the MacrotaskExecutor
project was extracted from CE, is maintained by Daniel and I, and is the default in CE3.
@armanbilge so, I've followed your (and compiler's one) advice to use scala-js-macrotask-executor
for CE2. If CE3 uses it as a default, I think it'd be fine for CE2 as well.
Even if we don't use fatal warnings, it, all the same, strikes the eye on every compile, CI run.