You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obj.asInstanceOf [ Matchable ] match { /* assert: DisableSyntax.asInstanceOf
28
+
obj.asInstanceOf [ Matchable ] match { /* assert: DisableSyntax.asInstanceOfMatchable
29
29
^^^^^^^^^^^^
30
-
asInstanceOf casts are disabled, use pattern matching instead
30
+
asInstanceOf[Matchable] is used here to enable pattern matching on Any. Consider using the .asMatchable extension method instead for better readability.
0 commit comments