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
- Add UniqueType#singleton? predicate for nil/true/false, replacing
the hardcoded name array in dispatch_literal?
- Merge literal_param_arg_matches? into Pin::Parameter#compatible_arg?
(its only caller) instead of threading a second, redundant typify
call through Source::Chain::Call
- Add ComplexType#without_redundant_literals, pulling the
literal/non-literal union dedup out of Pin::BaseVariable#probe and
into the type hierarchy
- rbs_translator.rb: fix @param type [RBS::Types::Bases::Base]
annotations that were actually too narrow (the real RBS type is
RBS::Types::t, a union most RBS type classes do not inherit
Bases::Base from). Removes 3 of the sg-ignore comments entirely.
The remaining case/when-narrowing sg-ignores in type_to_tag now
reference castwide/solargraph issue 1241, filed to track that the
type checker does not narrow a case subject's type inside each
branch
- shell.rb: revert the unrelated cache_core rebuild-condition
one-liner, out of scope for this PR
- type_checker.rb: clarify that receiver_type generic resolution is
currently restarg-specific, not yet generalized to fixed-arity
params
- chain_spec.rb: assert the non-literal (simplify_literals) type of
true is Boolean, alongside the existing literal-type assertion
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019zMih8CMx6rXoSkYehxFH3
0 commit comments