We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d488634 commit 0dc993bCopy full SHA for 0dc993b
scalafix-tests/input/src/main/scala-3/test/disableSyntax/MatchableDisableSyntax.scala
@@ -26,7 +26,7 @@ object MatchableAsInstanceOf {
26
class WhitespaceExample {
27
override def equals(obj: Any): Boolean =
28
obj.asInstanceOf [ Matchable ] match { /* assert: DisableSyntax.asInstanceOf
29
- ^^^^^^^^^^^^^
+ ^^^^^^^^^^^^
30
asInstanceOf casts are disabled, use pattern matching instead
31
*/
32
case _ => true
0 commit comments