Skip to content

fix(js_ruler): number serial arg keys again - #40

Merged
codeout merged 1 commit into
codeout:mainfrom
robinchrist:fix-js-serial-args
Oct 16, 2026
Merged

codeout merged 1 commit into
codeout:mainfrom
robinchrist:fix-js-serial-args

Conversation

@robinchrist

Copy link
Copy Markdown
Contributor

Since 3fdd108 the result of the arg -> arg_N gsub is discarded, so s(arg, arg) becomes an object with duplicate arg keys and the JS parser keeps only one of the values (e.g. mpls priority 7 0).

Since 3fdd108 the result of the "arg" -> "arg_N" gsub is discarded, so
s(arg, arg) becomes an object with duplicate "arg" keys and the JS
parser keeps only one of the values (e.g. "mpls priority 7 0").
@codeout

codeout commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Thanks for catching this! Appreciate the regression test too. Merging.

@codeout
codeout merged commit 1f849cf into codeout:main Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants