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
java.lang.IndexOutOfBoundsException: 5
at scala.collection.LinearSeqOps.apply(LinearSeq.scala:117)
at scala.collection.LinearSeqOps.apply$(LinearSeq.scala:114)
at scala.collection.immutable.List.apply(List.scala:79)
at a.Main$.$anonfun$run$2(Stacktraces.scala:13)
at apply @ a.Main$.$anonfun$run$1(Stacktraces.scala:13)
at apply @ a.Main$.<clinit>(Stacktraces.scala:10)
at flatMap @ a.Main$.run(Stacktraces.scala:13)
at void @ a.Main$.run(Stacktraces.scala:13)
at run$ @ a.Main$.run(Stacktraces.scala:9)
at void @ a.Main$.run(Stacktraces.scala:13) looks wrong to me, shouldn't it be line 14 instead?
The text was updated successfully, but these errors were encountered:
Strangely, the original stacktrace already seems to be incorrect:
packagecom.exampleobjectBar {
defself(x: Any):Bar.type=thisdefvoid():Unit=thrownewExceptiondefmain(args: Array[String]):Unit= {
this
.self((x: Int) => x)
.void() // this is line 14
}
}
java.lang.Exception
at com.example.Bar$.void(Foo.scala:9)
at com.example.Bar$.main(Foo.scala:13)
at com.example.Bar.main(Foo.scala)
...
Discussed in #2981
Originally posted by kpodsiad May 7, 2022
The following snippet
produces following stacktrace
at void @ a.Main$.run(Stacktraces.scala:13)
looks wrong to me, shouldn't it be line 14 instead?The text was updated successfully, but these errors were encountered: