Commit e49e8544 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2571af8d
......@@ -1159,7 +1159,6 @@ func (d *decoderM) genBasic(assignto string, typ *types.Basic, userType types.Ty
switch typ.Kind() {
case types.Bool:
// XXX move -> mgetbool ?
d.emit("switch op := msgpack.Op(data[%v]); op {", d.n)
d.emit("default: return 0, mdecodeOpErr(%q, op, msgpack.True, msgpack.False)", d.pathName(assignto))
d.emit("case msgpack.True: %s = true", assignto)
......
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