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
Union#to_s should follow RBS/Lint/AmbiguousOperatorPrecedence
At present, the result of `Union#to_s` does not respect
`RBS/Lint/AmbiguousOperatorPrecedence` cop from rubocop-on-rbs.
It would be better to wrap intersections in unions by paranthesis.
* Before: `Integer | String & bool`
* After: `Integer | (String & bool)`
ref: soutaro/rbs-inline#174
0 commit comments