Fix error in serializeMatcher

This commit is contained in:
Tony Garnock-Jones 2014-05-26 05:51:59 -04:00
parent 7ee78181a3
commit 96e651d4a1
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ function Routing(exports) {
function walk(m) {
if (is_emptyMatcher(m)) return [];
if (m instanceof $WildcardSequence) {
return ["...)", m.matcher];
return ["...)", walk(m.matcher)];
}
if (m instanceof $Success) {
return ["", serializeSuccess(m.value)];