Commit b02a700
authored
## Motivation
The current behaviour of `DefaultVisitor` is that it will write
padding even if it is going to skip writing a value, which results
in extraneous padding being added when values are skipped
by the `tracing-log` integration.
## Solution
With this change, `DefaultVisitor` will only insert padding if it is
actually going to write a value.
Closes: #2979
1 parent ce32540 commit b02a700
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1241 | 1251 | | |
1242 | | - | |
| 1252 | + | |
| 1253 | + | |
1243 | 1254 | | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | 1255 | | |
1248 | 1256 | | |
1249 | 1257 | | |
| |||
0 commit comments