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
Expected behaviour: The script runs successfully without Ammonite crashing.
Error message:
$ ./amm -p GCD.scala -c "main()"
Compiling /tmp/(console)
Exception in thread "main" scala.MatchError: ArraySeq() (of class scala.collection.immutable.ArraySeq$ofRef)
at ammonite.repl.Repl$.highlightFrame(Repl.scala:295)
at ammonite.repl.Repl$.$anonfun$showException$2(Repl.scala:319)
at scala.collection.ArrayOps$.map$extension(ArrayOps.scala:935)
at ammonite.repl.Repl$.$anonfun$showException$1(Repl.scala:319)
at scala.collection.immutable.List.map(List.scala:247)
at scala.collection.immutable.List.map(List.scala:79)
at ammonite.repl.Repl$.showException(Repl.scala:316)
at ammonite.MainRunner.handleWatchRes(MainRunner.scala:101)
at ammonite.MainRunner.watchLoop(MainRunner.scala:59)
at ammonite.MainRunner.runCode(MainRunner.scala:74)
at ammonite.AmmoniteMain$.main0(AmmoniteMain.scala:94)
at ammonite.AmmoniteMain$.main(AmmoniteMain.scala:31)
at ammonite.AmmoniteMain.main(AmmoniteMain.scala)
The text was updated successfully, but these errors were encountered:
edwardcwang
changed the title
Ammonite crashes with scala.MatchError: ArraySeq in highlightFrame
Ammonite crashes with "scala.MatchError: ArraySeq()" in highlightFrame in Repl.scala
Jul 19, 2024
Steps to reproduce:
wget https://github.com/com-lihaoyi/Ammonite/releases/download/3.0.0-M2/2.13-3.0.0-M2 -O amm chmod +x amm wget https://github.com/edwardcwang/chisel-single-file/raw/chisel6/GCD.scala ./amm -p GCD.scala -c "main()"
Expected behaviour: The script runs successfully without Ammonite crashing.
Error message:
The text was updated successfully, but these errors were encountered: