Skip to content
Unverified Commit ec0f6787 authored by Aleksandr Popov's avatar Aleksandr Popov Committed by GitHub
Browse files

[GuardWidening] Fix widening possibility check (#66064)



In the 0e0ff857 was introduced
inconsistency between condition widening and checking if it's possible
to widen. We check the possibility to hoist checks parsed from the
condition, but hoist entire condition.

This patch returns testing that a condition can be hoisted rather than
the checks parsed from that condition.

Co-authored-by: default avatarAleksander Popov <apopov@azul.com>
parent 0528dbfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment