Commit bee7e8f5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 78a7f26b
......@@ -1061,7 +1061,6 @@ func (e *encoderM) genBasic(path string, typ *types.Basic, userType types.Type)
}
// decoder expects <op>
// XXX place
func (d *decoderM) expectOp(assignto string, op string) {
d.emit("if op := msgpack.Op(data[%v]); op != %s {", d.n, op); d.n++
d.emit(" return 0, mdecodeOpErr(%q, op, %s)", d.pathName(assignto), op)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment