scala / scala3

The Scala 3 compiler, also known as Dotty.
https://dotty.epfl.ch
Apache License 2.0
5.88k stars 1.06k forks source link

Any.asInstanceOf scaladoc is out of sync with scala 2.13.13 #19757

Closed bishabosha closed 8 months ago

bishabosha commented 8 months ago

https://github.com/lampepfl/dotty/blob/e54be6ef2c1711a863d9f1384ed67b27e46489af/compiler/src/dotty/tools/dotc/core/Definitions.scala#L2296C5-L2307C21

see https://www.scala-lang.org/api/2.13.x/scala/Any.html#isInstanceOf%5BT0%5D:Boolean for comparison

Screenshot 2024-02-22 at 10 02 28

bishabosha commented 8 months ago

Actually I saw the doc for isInstanceOf so of course it was different