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
Scala 3.3.1 (19.0.2, Java OpenJDK 64-Bit Server VM).
Repl log
Welcome to Scala 3.3.1 (19.0.2, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
scala> val a = (1, 2, 3)
val a: (Int, Int, Int) = (1,2,3)
scala> a.toList.map(_ + 1)
val res0: List[Int] = List(2, 3, 4)
scala> a.toList.map(_ + 1)
val res1: List[Int] = List(2, 3, 4)
scala> a.toList.map(_ + 1)
Bad symbolic reference. A signature
refers to JFunction1$mcII$sp/T in package scala.runtime.java8 which is not available.
It may be completely missing from the current classpath, or the version on
the classpath might be incompatible with the version used when compiling the signature.
1 error found
The first call a.toList.map is taken from the repl history (from the previous run), the second call is hand-typed, on the third call toList is taken from the Tab autocomplete. After the third call the map function stops working on any lists.
One of the first calls of 'a.toList.map` can be omitted, it breaks after autocomplete anyway.
Expectation
The same result is expected as when the first two commands are called.
The text was updated successfully, but these errors were encountered:
Compiler version
Scala 3.3.1 (19.0.2, Java OpenJDK 64-Bit Server VM).
Repl log
The first call
a.toList.map
is taken from the repl history (from the previous run), the second call is hand-typed, on the third calltoList
is taken from the Tab autocomplete. After the third call themap
function stops working on any lists.One of the first calls of 'a.toList.map` can be omitted, it breaks after autocomplete anyway.
Expectation
The same result is expected as when the first two commands are called.
The text was updated successfully, but these errors were encountered: