diff --git a/util/router/compile.go b/util/router/compile.go index 6a43fd8b..7d06eea1 100644 --- a/util/router/compile.go +++ b/util/router/compile.go @@ -67,8 +67,8 @@ func (v variable) compile() []op { ops = append(ops, s.compile()...) } ops = append(ops, op{ - code: OpConcatN, - operand: len(v.segments), + code: utilities.OpConcatN, + num: len(v.segments), }, op{ code: OpCapture, str: v.path,