File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
library/src/scala/collection Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ object Array {
68
68
/**
69
69
* Returns a new [[scala.collection.mutable.ArrayBuilder ]].
70
70
*/
71
- def newBuilder [T ](implicit t : ClassTag [T ]): ArrayBuilder [T ] = ArrayBuilder .make[T ](t)
71
+ def newBuilder [T ](implicit t : ClassTag [T ]): ArrayBuilder [T ] = ArrayBuilder .make[T ](using t)
72
72
73
73
def from [A : ClassTag ](it : IterableOnce [A ]): Array [A ] = {
74
74
val n = it.knownSize
Original file line number Diff line number Diff line change @@ -280,5 +280,5 @@ object Console extends AnsiColor {
280
280
* @throws java.lang.IllegalArgumentException if there was a problem with the format string or arguments
281
281
* @group console-output
282
282
*/
283
- def printf (text : String , args : Any * ): Unit = { out.print(text format (args : _ * )) }
283
+ def printf (text : String , args : Any * ): Unit = { out.print(text. format(args* )) }
284
284
}
Original file line number Diff line number Diff line change @@ -966,7 +966,7 @@ final class StringOps(private val s: String) extends AnyVal {
966
966
else new WrappedString (s).toArray[B ]
967
967
968
968
private [this ] def unwrapArg (arg : Any ): AnyRef = arg match {
969
- case x : ScalaNumber => x.underlying
969
+ case x : ScalaNumber => x.underlying()
970
970
case x => x.asInstanceOf [AnyRef ]
971
971
}
972
972
You can’t perform that action at this time.
0 commit comments