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
We have resisted implementing support for === on type objects, because there are type objects where it doesn't make sense, for example generic types, proc types, T.self_type, etc. which can't be checked at runtime (docs).
Input
→ View on sorbet.run
Observed output
Expected behavior
It would be great if we could get an autocorrect to convert the
when T::Boolean
intowhen true, false
, because this is a common error.The text was updated successfully, but these errors were encountered: