sjrd on 0.6.x
Remove dead code: specific coll… Adapt the signature of `js.Arra… Merge pull request #3554 from s… (compare)
sjrd on master
Fix analyzer cycle detection to… Add toString methods to analyze… Do not provide linked ClassInfo… and 1 more (compare)
sjrd on master
Remove Logger.success It is un… Make level helpers final Clean-up ScalaConsoleLogger cod… and 1 more (compare)
Wonder if it would be worthwhile to replace js.UndefOr
with Scala 3 union + extension methods:
extension [A] (a: A | Unit)
def isEmpty: Boolean =
a == ()
def isDefined: Boolean =
!a.isEmpty
def map[B](f: A => B): B | Unit =
if a.isEmpty then () else f(a.forceGet)
// etc
@main def main(): Unit =
val a: Int | Unit = 21
println(a.isDefined)
println(a.isEmpty)
println(a.map(_ + 1))
Doesn't seem possible w/ Null union unfortunately.
scalaJSLinkerConfig.withBatchMode(true)
. What does this do/change
github.com/objektwerks/scalajs.pool
. Some time ago, js-opt.js and shared-opt.js files were generated from a fullOptJS. That has changed with 1.5 and the module linking feature.
++
)