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
{{ message }}
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
package pkg
sealed trait Base
case object Sub extends pkg.Base
would incorrectly yield:
[warn] /tmp/linter/src/main/scala/Test.scala:3: [UnextendedSealedTrait] This sealed trait is never extended
[warn] sealed trait Base
[warn] ^
[warn] one warning found
Changing extends pkg.Base to extends Base would fix the lint error. Using the full name is sometimes necessary to prevent ambiguity.
The text was updated successfully, but these errors were encountered:
Linting the following code:
would incorrectly yield:
Changing
extends pkg.Base
toextends Base
would fix the lint error. Using the full name is sometimes necessary to prevent ambiguity.The text was updated successfully, but these errors were encountered: