Commit 90842e5
Recanonicalize with_exprt when renaming old member
It may happen that during renaming the `old` subexpression of a `with_exprt`
expression is propagated with a value that has an array type with a size that
is a symbol with an L2 index that is different. In this case the type of the
`with_exprt` will not match with the type of the `old` subexpression
anymore.
To address this issue we re-canonicalize the `with_exprt` by propagating
the type of the `old` subexpression to the type of the `with_exprt`.1 parent 99c5402 commit 90842e5
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
266 | 282 | | |
267 | 283 | | |
268 | 284 | | |
| |||
0 commit comments