Skip to content

Commit 281178f

Browse files
committed
Add extension method failure minimization
The issue is that we do not generate the `$extension` methods in Scala 3 before pickling.
1 parent 487992d commit 281178f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stdlib-bootstrapped-tasty-tests/src/Main.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ object HelloWorld:
1717
testScala2ObjectParents()
1818
testScala2CaseClassUnderscoreMembers()
1919
testScalaNumberUnderlying()
20+
testArrayOps()
2021
scala.collection.mutable.UnrolledBufferTest.test()
2122
}
2223

@@ -68,3 +69,9 @@ object HelloWorld:
6869
val _: Object = MyNumber2(BigInt(1)).underlying
6970
val _: Object = (MyNumber2(BigInt(1)): ScalaNumber).underlying
7071
}
72+
73+
def testArrayOps() = {
74+
new collection.ArrayOps[String](Array[String]("foo")).exists(x => true)
75+
}
76+
77+
end HelloWorld

0 commit comments

Comments
 (0)