Skip to content

Commit

Permalink
added missing positional parameters to normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Dec 24, 2024
1 parent 437c892 commit 083d129
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ value toDefaultRec(value readBack) = visit(readBack) {
value toDefaultValue(set[value] x) = x;
value toDefaultValue(list[value] x) = {*x}; // re-order to default set order for comparison purposes
value toDefaultValue(map[void,void] _) = {};
value toDefaultValue(node x) = { {k, m[k]} | m := getKeywordParameters(x), k <- m};
value toDefaultValue(node x) = { {k, m[k]} | m := getKeywordParameters(x), k <- m}
+ {*[{"arg<i>", c[i]} | c := getChildren(x), i <- index(c)]};
value toDefaultValue(map[value,value] m) = {{k,m[k]} | k <- m};
value toDefaultValue(<>) = {};
value toDefaultValue(<value x>) = {x};
Expand Down

0 comments on commit 083d129

Please sign in to comment.