Skip to content

Conversation

@tannguyencse19
Copy link

Summary

Fix assert callable(x) narrowing because callability does not imply an object return type

Fixes #911

Test Plan

cargo test test_assert_callable_narrow_any
cargo test test_builtins_callable_narrow

@meta-cla meta-cla bot added the cla signed label Dec 28, 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.

assert callable narrows too much

1 participant