提交 386b9982 编写于 作者: chai2010's avatar chai2010

fix go vet ./...

上级 67ea7e86
......@@ -77,7 +77,7 @@ func EmitBinOp(x, y Value, op wat.OpCode) ([]wat.Inst, ValueType) {
var insts []wat.Inst
r := binOpMatchType(x.Type(), y.Type())
if len(r.Raw()) != 1 {
logger.Fatal("Todo %T", r)
logger.Fatalf("Todo %T", r)
return nil, nil
}
rtype := r.Raw()[0]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册