summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/future.c
diff options
context:
space:
mode:
authorvitya-smirnov <[email protected]>2026-06-30 14:16:03 +0300
committervitya-smirnov <[email protected]>2026-06-30 15:41:42 +0300
commite765c77e6cdef95aff49d6b0d3676cf0012704ac (patch)
treeed0715428104e6fd7e5362e1b19cbf2e2e9fb255 /contrib/tools/python3/Python/future.c
parentff1a2a582d9bcb5b5ccab5d649391cf4ff2b3c51 (diff)
YQL-21307: Suppress invalid application on PartialTypeCheck
Added the `ExpandApplyUniversal` pass for partial type annotation. A binding can be resolved to a lambda during a full typecheck, but during a partial typecheck, a module resolver is limited and can return a universal value. A series of the `ExpandApply` applications can lead to some arguments being discarded, e.g. `(Apply (lambda '(a b) a) X Y)` discards `Y` during a full typecheck, but not partial, so arguments at `(Apply (InstanceOf (UniversalType)) X Y)` are type checked, and so partial type check had a greater recall. commit_hash:7573df489129be47aa66d74d0f4b96086166c3ba
Diffstat (limited to 'contrib/tools/python3/Python/future.c')
0 files changed, 0 insertions, 0 deletions