Skip to content

Commit 521bb37

Browse files
author
Dean Wampler
committed
A change in Scala 3.1.0
1 parent e6fa5dd commit 521bb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/scala/progscala3/typesystem/matchtypes/DepTypedMethods.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ first(Array(2.2, 3.3))
2525
first(Seq("4", "five"))
2626
first(6)
2727
first(true)
28-
first(O)
28+
first(O) // Works in Scala 3.0.0, but fails to compile in 3.1.0!
2929
first(C("Dean"))
3030
// end::example[]

0 commit comments

Comments
 (0)