Commit 889cec0
committed
fix: unions with local variables may have incorrect size.
If the biggest variable is local the size of the union is set to it even though local variables don't contribute to the pattern size.
The fix is to check if the variable is local before using it size in the comparison.1 parent 55b67de commit 889cec0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments