-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node/bindnode: subtract all absents in Length at the repr level
For structs at the repr level, we were only subtracting the number of trailing absents, which isn't right. Rod's added checks in the codecs caught this as a failure, thanks to the node/tests suite already having one such case.
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters