Skip to content

Commit d13abca

Browse files
subhramitbjaglin
andauthored
Update scalafix-tests/input/src/main/scala-3/test/disableSyntax/MatchableDisableSyntax.scala
Co-authored-by: Brice Jaglin <[email protected]>
1 parent 0dc993b commit d13abca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalafix-tests/input/src/main/scala-3/test/disableSyntax/MatchableDisableSyntax.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object MatchableAsInstanceOf {
1818

1919
def regularCast(x: Any): String =
2020
x.asInstanceOf[String] /* assert: DisableSyntax.asInstanceOf
21-
^^^^^^^^^^^^^
21+
^^^^^^^^^^^^
2222
asInstanceOf casts are disabled, use pattern matching instead
2323
*/
2424

0 commit comments

Comments
 (0)