@@ -326,48 +326,48 @@ object IArray:
326
326
def +: (arr : IArray [U ]): IArray [U ] = genericArrayOps(arr).prepended(x)
327
327
328
328
/** Conversion from IArray to immutable.ArraySeq */
329
- given genericWrapIArray [T ](using DummyImplicit ) : Conversion [ IArray [T ], scala.collection.immutable.ArraySeq [T ] ] =
330
- arr => scala.collection.immutable.ArraySeq .unsafeWrapArray(arr.asInstanceOf [Array [T ]])
329
+ implicit def genericWrapIArray [T ](arr : IArray [T ]) : scala.collection.immutable.ArraySeq [T ] =
330
+ scala.collection.immutable.ArraySeq .unsafeWrapArray(arr.asInstanceOf [Array [T ]])
331
331
332
332
/** Conversion from IArray to immutable.ArraySeq */
333
- given genericWrapAnyRefIArray [T <: AnyRef ](using DummyImplicit ) : Conversion [ IArray [T ], scala.collection.immutable.ArraySeq [T ] ] =
334
- arr => scala.collection.immutable.ArraySeq .ofRef(arr.asInstanceOf [Array [T ]])
333
+ implicit def genericWrapAnyRefIArray [T <: AnyRef ](arr : IArray [T ]) : scala.collection.immutable.ArraySeq [T ] =
334
+ scala.collection.immutable.ArraySeq .ofRef(arr.asInstanceOf [Array [T ]])
335
335
336
336
/** Conversion from IArray to immutable.ArraySeq */
337
- given genericWrapIntIArray (using DummyImplicit ) : Conversion [ IArray [Int ], scala.collection.immutable.ArraySeq [Int ] ] =
338
- arr => scala.collection.immutable.ArraySeq .ofInt(arr.asInstanceOf [Array [Int ]])
337
+ implicit def genericWrapIntIArray (arr : IArray [Int ]) : scala.collection.immutable.ArraySeq [Int ] =
338
+ scala.collection.immutable.ArraySeq .ofInt(arr.asInstanceOf [Array [Int ]])
339
339
340
340
/** Conversion from IArray to immutable.ArraySeq */
341
- given genericWrapDoubleIArray (using DummyImplicit ) : Conversion [ IArray [Double ], scala. collection.immutable.ArraySeq [Double ] ] =
342
- arr => scala.collection.immutable.ArraySeq .ofDouble(arr.asInstanceOf [Array [Double ]])
341
+ implicit def genericWrapDoubleIArray (arr : IArray [Double ]) : collection.immutable.ArraySeq [Double ] =
342
+ scala.collection.immutable.ArraySeq .ofDouble(arr.asInstanceOf [Array [Double ]])
343
343
344
344
/** Conversion from IArray to immutable.ArraySeq */
345
- given genericWrapLongIArray (using DummyImplicit ) : Conversion [ IArray [Long ], scala. collection.immutable.ArraySeq [Long ] ] =
346
- arr => scala.collection.immutable.ArraySeq .ofLong(arr.asInstanceOf [Array [Long ]])
345
+ implicit def genericWrapLongIArray (arr : IArray [Long ]) : collection.immutable.ArraySeq [Long ] =
346
+ scala.collection.immutable.ArraySeq .ofLong(arr.asInstanceOf [Array [Long ]])
347
347
348
348
/** Conversion from IArray to immutable.ArraySeq */
349
- given genericWrapFloatIArray (using DummyImplicit ) : Conversion [ IArray [Float ], scala. collection.immutable.ArraySeq [Float ] ] =
350
- arr => scala.collection.immutable.ArraySeq .ofFloat(arr.asInstanceOf [Array [Float ]])
349
+ implicit def genericWrapFloatIArray (arr : IArray [Float ]) : collection.immutable.ArraySeq [Float ] =
350
+ scala.collection.immutable.ArraySeq .ofFloat(arr.asInstanceOf [Array [Float ]])
351
351
352
352
/** Conversion from IArray to immutable.ArraySeq */
353
- given genericWrapCharIArray (using DummyImplicit ) : Conversion [ IArray [Char ], scala. collection.immutable.ArraySeq [Char ] ] =
354
- arr => scala.collection.immutable.ArraySeq .ofChar(arr.asInstanceOf [Array [Char ]])
353
+ implicit def genericWrapCharIArray (arr : IArray [Char ]) : collection.immutable.ArraySeq [Char ] =
354
+ scala.collection.immutable.ArraySeq .ofChar(arr.asInstanceOf [Array [Char ]])
355
355
356
356
/** Conversion from IArray to immutable.ArraySeq */
357
- given genericWrapByteIArray (using DummyImplicit ) : Conversion [ IArray [Byte ], scala. collection.immutable.ArraySeq [Byte ] ] =
358
- arr => scala.collection.immutable.ArraySeq .ofByte(arr.asInstanceOf [Array [Byte ]])
357
+ implicit def genericWrapByteIArray (arr : IArray [Byte ]) : collection.immutable.ArraySeq [Byte ] =
358
+ scala.collection.immutable.ArraySeq .ofByte(arr.asInstanceOf [Array [Byte ]])
359
359
360
360
/** Conversion from IArray to immutable.ArraySeq */
361
- given genericWrapShortIArray (using DummyImplicit ) : Conversion [ IArray [Short ], scala. collection.immutable.ArraySeq [Short ] ] =
362
- arr => scala.collection.immutable.ArraySeq .ofShort(arr.asInstanceOf [Array [Short ]])
361
+ implicit def genericWrapShortIArray (arr : IArray [Short ]) : collection.immutable.ArraySeq [Short ] =
362
+ scala.collection.immutable.ArraySeq .ofShort(arr.asInstanceOf [Array [Short ]])
363
363
364
364
/** Conversion from IArray to immutable.ArraySeq */
365
- given genericWrapBooleanIArray (using DummyImplicit ) : Conversion [ IArray [Boolean ], scala. collection.immutable.ArraySeq [Boolean ] ] =
366
- arr => scala.collection.immutable.ArraySeq .ofBoolean(arr.asInstanceOf [Array [Boolean ]])
365
+ implicit def genericWrapBooleanIArray (arr : IArray [Boolean ]) : collection.immutable.ArraySeq [Boolean ] =
366
+ scala.collection.immutable.ArraySeq .ofBoolean(arr.asInstanceOf [Array [Boolean ]])
367
367
368
368
/** Conversion from IArray to immutable.ArraySeq */
369
- given genericWrapUnitIArray (using DummyImplicit ) : Conversion [ IArray [Unit ], scala. collection.immutable.ArraySeq [Unit ] ] =
370
- arr => scala.collection.immutable.ArraySeq .ofUnit(arr.asInstanceOf [Array [Unit ]])
369
+ implicit def genericWrapUnitIArray (arr : IArray [Unit ]) : collection.immutable.ArraySeq [Unit ] =
370
+ scala.collection.immutable.ArraySeq .ofUnit(arr.asInstanceOf [Array [Unit ]])
371
371
372
372
/** Convert an array into an immutable array without copying, the original array
373
373
* must _not_ be mutated after this or the guaranteed immutablity of IArray will
0 commit comments