What's wrong with the following code?
class A {
val m = new scala.collection.concurrent.TrieMap[Int, Int]()
export m.clear
}
The compilation error (Scala 3.4.0): "TailRec optimisation not applicable, method clear contains no recursive calls".
What's wrong with the following code?
class A {
val m = new scala.collection.concurrent.TrieMap[Int, Int]()
export m.clear
}
The compilation error (Scala 3.4.0): "TailRec optimisation not applicable, method clear contains no recursive calls".
Copyright © 2021 Jogjafile Inc.