Lucas Nouguier
Lucas Nouguier
Follow up of the implementation of hot code replace (HCR) in the scala-debug-adapter ([link](https://github.com/scalacenter/scala-debug-adapter/pull/553)) and in the vscode extension ([link](https://github.com/scalameta/metals-vscode/pull/1419)). Trigger a 2nd compilation (after the first one due to...
Evaluating a `null` value returns an error instead of `null` ```scala case class Nullable(s: String) @main def test = val test = Nullable(null) ``` Evaluating `test.s` fails with a `NullPointerException`...
While debugging [metals](https://github.com/scalameta.metals). I stumbled upon a weird error. ``` > url $ URL@185 "file:/home/lucasn/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.11/scala-reflect.jar" > 1+1 $ Cannot evaluate because of java.lang.Exception: Unsupported evaluation in JDK: zulu17.32.13-ca-jdk17.0.2-linux_x64 ``` `url`...
According to [this CI run](https://github.com/scalacenter/scala-debug-adapter/actions/runs/5314112345/jobs/9719534757?pr=456), it seems that one element has been garbage collected. Maybe a `Safe` is missing somewhere ?
### Is your feature request related to a problem? Please describe. While implicits are awesome, they can sometimes be tricky and it can be hard to find the right instance...
### Describe the bug When using multi-line string interpolation, things get a bit awkward :) For instance with  There are no completion suggestions, but compiling is ok as well...
Fixes #20338 Poke @mbovel @nicolasstucki @hamzaremmal @AnotherMedo
Fixes #644 and #645 with some minor improvements (reduce unneeded flatMap) More may come in this PR, or I'll open an other one :)