[kernel] Infinite loop when testing if two record types are equivalent #52817
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
front-end-kernel
DDC relies on the kernel implementation of
DartTypeEquivalence
to determine if some casts can be elided or replaced as null checks.Some instances of record types can cause an infinite loop when checking if they are equivalent.
Originally reported here: flutter/flutter#129482
This code will cause the DDC compiler to hang:
The text was updated successfully, but these errors were encountered: