-
We found that this library does not work with the current Scala 2 library TASTy
* See error in: https://github.com/scala/scala3/pull/19588#issuecomment-1925463405
* See what is the Scala 2 librar…
-
I would like a way to preserve the formatting of nested if-then statements in Scala 3 code. In my case, I have an outer if-then-else statement, each branch of which contains its own if-then-else. When…
-
**Version(s)**
Scala CLI version: 1.1.2
Scala version (default): 3.3.1
**Describe the bug**
Dependencies fetched from the registry declared using
```
//> using repository https://maven.pkg.gi…
-
```scala
val resource1 = async[Resource[IO, *]] {
r1.await
}
val resource2 = async[Resource[IO, *]] {
r2.await
}
val http4sServerResource = for {
r1
-
The generated code will now cause the Scala 3.4.x compiler to emit the warning:
```shell
[warn] 36 | private[this] def argEscape(k: String, v: String): String = Query.apply((k, Some(v))).toString…
-
Steps to reproduce the behavior:
- Compile this source with scala `3.0.1+`:
```scala
class X
class Main {
val x: X = ???
}
```
- then comment `class X` line and save file:
…
dos65 updated
2 years ago
-
Steps to reproduce:
- set up scala3 project with :
```scala
scalaVersion := "3.0.2-RC1"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % "3.2.0"
)
```
- open `ca…
dos65 updated
2 years ago
-
## steps
- clone https://github.com/sake92/metals-mill-scala3-class-params-repro
- open with VSCode+Metals
- import as Mill build (Bloop or mill-bsp)
- run, all good
- add parameter to MyServic…
-
closest thing that we have is https://docs.scala-lang.org/scala3/book/ca-context-bounds.html
-
There is no explanation in the book that indentation is significant and needed for the compiler. When searching for 'Indentation' it is only referenced in the Style Guide, Migration Guide and Language…