sconfig icon indicating copy to clipboard operation
sconfig copied to clipboard

Java Object interopt changed in Scala 2.13.0

Open ekrich opened this issue 5 years ago • 0 comments

This is more just an advisory issue that could be updated and released if older versions like Scala 2.11 and 2.12 get dropped.

Change in Scala 2.13: https://github.com/scala/scala/pull/7966

Code affected: https://github.com/ekrich/sconfig/blob/master/sconfig/shared/src/main/scala/org/ekrich/config/impl/SimpleConfigList.scala#L270

Potential change:

From: override def toArray[T](a: Array[T with Object]): Array[T with Object] =??? To: override def toArray[T <: Object](a: Array[T]): Array[T] = ???

ekrich avatar Jun 11 '19 18:06 ekrich