Closed hectorj closed 7 years ago
When trying to apply easyjson to nested maps like map[string]map[uint32]string, it produces invalid code:
map[string]map[uint32]string
for v2_name, v2_value := range in.Field { if !v2_first { out.RawByte(',') } v2_first = false out.String(string(v2_name)) out.RawByte(':') }
which gives this error:
v2_value declared and not used
It would be nice to have an explicit error message, like we get with non-nested maps:
map type uint32 not supported: only string keys are allowed
Related: #127
PR #144 merged. Check it please
When trying to apply easyjson to nested maps like
map[string]map[uint32]string
, it produces invalid code:which gives this error:
It would be nice to have an explicit error message, like we get with non-nested maps: