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
The check-shims command will complain that the definition for Foo is duplicated between the generated gem RBI and the annotations. Yet the generated gem RBI was generated with typed-override: ignore meaning that the RBI file for the gem is written on disk with typed: ignore thus not even seen by Sorbet. In this case the duplication is justified.
We should ignore files marked typed: ignore when running check-shims.
The text was updated successfully, but these errors were encountered:
Consider this:
The
check-shims
command will complain that the definition forFoo
is duplicated between the generated gem RBI and the annotations. Yet the generated gem RBI was generated withtyped-override: ignore
meaning that the RBI file for the gem is written on disk withtyped: ignore
thus not even seen by Sorbet. In this case the duplication is justified.We should ignore files marked
typed: ignore
when runningcheck-shims
.The text was updated successfully, but these errors were encountered: