This repository was archived by the owner on May 18, 2019. It is now read-only.
Commit fb52840
Fix for elabBuiltinSize of zero-size arrays
Previously, we had work-arounds for T_UNKNOWN being passed to size.
Since we fixed that, we now need to provide the correct number of
dimensions. This is either the expression type or the type from
elaboration; if we take the longer of the two we should get the
correct number of dimensions.
Belonging to [master]:
- #20741 parent cdf224b commit fb52840
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3241 | 3241 | | |
3242 | 3242 | | |
3243 | 3243 | | |
3244 | | - | |
| 3244 | + | |
3245 | 3245 | | |
3246 | 3246 | | |
3247 | 3247 | | |
| |||
3250 | 3250 | | |
3251 | 3251 | | |
3252 | 3252 | | |
3253 | | - | |
| 3253 | + | |
| 3254 | + | |
| 3255 | + | |
3254 | 3256 | | |
3255 | 3257 | | |
3256 | | - | |
3257 | | - | |
| 3258 | + | |
3258 | 3259 | | |
3259 | 3260 | | |
3260 | 3261 | | |
| |||
0 commit comments