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
{
"id" = "hktSubtypeOfExistential""pattern" = "(\\w+)\\[_\\]\\s*<:\\s*(\\w+)\\[_\\]""message" = "{$0} is attempting to express a higher-kinded type as a subtype of an existential type. You probably meant {$1}[X] <: {$2}[X]"
}
Thank you for reporting, this is a good idea! I've hit on it myself. I think it's best that this linter gets implemented as a custom rule so that it can evolve separately from the Scalafix core APIs.
See https://github.com/lampepfl/dotty/issues/1809, it would be lovely to have a lint rule for this.
The text was updated successfully, but these errors were encountered: