You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In repo: https://github.com/asarkar/99-scala
In P01.scala set breakpoint at line 10 (case lst :: Nil => lst), and debug P01Suite.scala"last element of a non-empty list" test. Try to evaluate l.size, see Cannot evaluate because of java.lang.NegativeArraySizeException: -2.
@asarkar Thanks for the report and reproduction. Next time, could you avoid using such emphasis as: "the watch panel is completely broken". It can be perceived as aggressive and it won't help us fix the bug.
The problem with this build is the compiler is configured with -rewrite -indent and so it tries to rewrite the file during compilation. I can fix it by automatically filtering out those options.
In repo: https://github.com/asarkar/99-scala
In
P01.scala
set breakpoint at line 10 (case lst :: Nil => lst
), and debugP01Suite.scala
"last element of a non-empty list"
test. Try to evaluatel.size
, seeCannot evaluate because of java.lang.NegativeArraySizeException: -2
.More info in the original issue: scalameta/metals#5997.
dap version: v3.1.5
The text was updated successfully, but these errors were encountered: