You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.2.2
- Fixes build error in v0.2.1.
Changes from v0.2.1:
- Add go.mod for Go modules.
- Use xerrors package to attach call frame information to errors and
wrap existing errors.
- Replace TravisCI with CircleCI.
- Fix lexing of words beginning with "/" having an additional "/"
prefixed onto them.
v0.2.1
- Add go.mod for Go modules.
- Use xerrors package to attach call frame information to errors and
wrap existing errors.
- Replace TravisCI with CircleCI.
- Fix lexing of words beginning with "/" having an additional "/"
prefixed onto them.
Fix child reassignment after Map
This fixes a bug that was introduced in e6ce13f where the newChild was
checked and added to the child list but was not walked after being
mapped. This resulted in invalid handling of the child, since the walk
would then proceed incorrectly with the original child instead of its
replacement.
This in particular breaks things like include mappings that replace
a statement with a document (or collection of documents).
Merge branch 'fix-bad-walkerror'
* fix-bad-walkerror:
Add an additional test around Map and nil nodes
Only use Map() node result if no error is returned
Add test for #12 - nil WalkError.Node panics