Commit 3dcf5c3d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 474d62e7
......@@ -956,15 +956,12 @@ func codegenType(path string, typ types.Type, obj types.Object, codegen CodeGene
case *types.Map:
codegen.genMap(path, u, obj)
default:
log.Fatalf("%v: %v has unsupported type %v (%v)", pos(obj),
obj.Name(), typ, u)
}
}
// generate size/encode/decode functions for a type declaration typespec
func generateCodecCode(typespec *ast.TypeSpec, codegen CodeGenerator) string {
// type & object which refers to this type
......
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