fix(ast): fix serializing rest elements#2652
Conversation
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @overlookmotel and the rest of your teammates on |
CodSpeed Performance ReportMerging #2652 will not alter performanceComparing Summary
|
|
Just checked now the implication of your last PR. I'm still updating the wrapper, but the types are now a bit wrong because they are generated from the original struct and not the one used in the serializer. Do you think this is fixable? Also the manual |
|
Yeah nothing blocking, just was also related to the previous PR. |
|
Thanks for moving your comments Arnaud. I've made a bit of a mess here by replying first and then deciding to open separate issues! Will reply on those issues... |
|
Tests pass and I think the change is uncontentious, so merging... |

Fix a mistake I made in #2567. Length that
serialize_seqis called with should only be+1if there is a rest element being added on the end.Makes no difference for serializing to JSON, as JSON serializer doesn't use the
lenvalue, but still better to get it right.