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 comments explaining the two-pass condition matching in filterBySpecifiedTypes
Pass 1 uses exact equals() matching. Pass 2 falls back to isSuperTypeOf()
for cases where the condition type is broader than the narrowed expression
type (e.g. union condition types from conditional parameter types or scope
merging). Pass 1 takes priority to prevent broader conditions from degrading
certainty calculations.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments