scala3
scala3 copied to clipboard
The Scala 3 compiler, also known as Dotty.
## Compiler version `3.1.0` ## Minimized code The `trait Config` has docs that point to `ConfigValue`. ```Scala * * Convert a Config to a JSON or HOCON string by calling...
based on the new semanticdb schema https://github.com/scalameta/scalameta/pull/2867 https://github.com/tanishiking/semanticdb-for-scala3/commit/3981424f2eee9b03e6114b21026572f877185638 This commit adds support for LambdaType that is converted from HKTypeLambda in Scala3. For example, the following type signature `[A, B] =>>...
This PR adds explicit [permissions section](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions) to workflows. This is a security best practice because by default workflows run with [extended set of permissions](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token) (except from `on: pull_request` [from external...
In scala3/js (scala 3.2.0, scalajs 1.11.0), but not in scala2/js, there is linking error "Referring to non-existent method ....accept(java.lang.Object)void" in the following: ```Scala def foo(): Unit = { val set...
It's not fun without the converse, rewriting to supply missing imports from well-known locations, such as `Decorators`.
http://dotty.epfl.ch/docs/reference/experimental/main-annotation.html the content is centred, rather than with the sidebar, (as of 15/9/22 there were no heading in the page) this can be distracting when switching between pages
## Compiler version 3.2.0 ## Minimized code ```Scala sealed trait Nat case class Zero() extends Nat case class Succ[N predN type PredOrZeroOption[N Some[predN] ``` ## Output ```scala Found: Some[predN] Required:...
## Compiler version 3.1.0 ## Minimized code * With Scala.js 1.8.0 ```scala trait Foo extends js.Object { var extra: js.UndefOr[String] } val anon1 = new js.Object() { var extra =...