Skip to content

Conversation

@tannguyencse19
Copy link

Summary

In AnswersSolver::narrow, short-circuit AtomicNarrowOp::Call and AtomicNarrowOp::NotCall when resolve_narrowing_call returns None. This prevents evaluating the facet chain type for non-narrowing calls, so missing attributes do not get refined to object.

Fixes #930

Test Plan

cargo test pyrefly:pyrefly_library -- test_missing_attribute_call_does_not_narrow

@meta-cla meta-cla bot added the cla signed label Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing property becomes object

1 participant