![]() The problem was that the free name could involved in an array dimension (and hence a type) of something in the PROC. When the name was then replaced in the type, CompState was not updated to have the new type, and instead kept the old type (potentially) all the way through to the backend, where it might be used for checking the bounds of an array index (against the old name taken from CompState, not the replaced name). |
||
---|---|---|
.. | ||
ImplicitMobility.hs | ||
PassTest.hs | ||
SimplifyAbbrevs.hs | ||
SimplifyAbbrevsTest.hs | ||
SimplifyComms.hs | ||
SimplifyExprs.hs | ||
SimplifyProcs.hs | ||
SimplifyTypes.hs | ||
SimplifyTypesTest.hs | ||
Unnest.hs |