We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27f6673 + 32bb635 commit 4be2e76Copy full SHA for 4be2e76
docs/docs/reference/changed/implicit-conversions.md
@@ -7,7 +7,7 @@ Previously, an implicit value of type `Function1`, or any of its subtypes
7
could be used as an implicit conversion. That is, the following code would compile
8
even though it probably masks a type error:
9
10
- implicit val m: Map[String, Int] = Map(1 -> "abc")
+ implicit val m: Map[Int, String] = Map(1 -> "abc")
11
12
val x: String = 1 // scalac: assigns "abc" to x
13
// Dotty: type error
0 commit comments