From 096bbf3d20258031f1b69b2f0fa91aac58b13dd7 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Fri, 12 Mar 2021 01:01:41 +0900 Subject: [PATCH] Fix build error --- encode_compile_race.go | 1 - 1 file changed, 1 deletion(-) diff --git a/encode_compile_race.go b/encode_compile_race.go index 00f43ab..decba6e 100644 --- a/encode_compile_race.go +++ b/encode_compile_race.go @@ -26,7 +26,6 @@ func encodeCompileToGetCodeSet(typeptr uintptr) (*opcodeSet, error) { code, err := encodeCompileHead(&encodeCompileContext{ typ: copiedType, - root: true, structTypeToCompiledCode: map[uintptr]*compiledCode{}, }) if err != nil {