normalizing parameter environments uses an empty free-region-map #45937
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following program gets a (spurious) region error (E0495):
The cause for this problem, I believe, is that during the normalize environment phase we use an empty
FreeRegionMap
, and thus do not let the region inferencer does not know that'a: 'b
holds.I have a fix on a local branch.
The text was updated successfully, but these errors were encountered: