Fix error in serializeMatcher
This commit is contained in:
parent
7ee78181a3
commit
96e651d4a1
2
route.js
2
route.js
|
@ -1059,7 +1059,7 @@ function Routing(exports) {
|
||||||
function walk(m) {
|
function walk(m) {
|
||||||
if (is_emptyMatcher(m)) return [];
|
if (is_emptyMatcher(m)) return [];
|
||||||
if (m instanceof $WildcardSequence) {
|
if (m instanceof $WildcardSequence) {
|
||||||
return ["...)", m.matcher];
|
return ["...)", walk(m.matcher)];
|
||||||
}
|
}
|
||||||
if (m instanceof $Success) {
|
if (m instanceof $Success) {
|
||||||
return ["", serializeSuccess(m.value)];
|
return ["", serializeSuccess(m.value)];
|
||||||
|
|
Loading…
Reference in New Issue