Describe the bug
The following test case shows an error in decoding toml with special format. The 'bad' test case looks the same to the 'good' test case with different format but fails the test with error message: panic: reflect: reflect.Value.Set using unaddressable value [recovered] .
But when I try to remove the other field which is shown in the 'good too' test, it works.
Describe the bug The following test case shows an error in decoding toml with special format. The 'bad' test case looks the same to the 'good' test case with different format but fails the test with error message: panic: reflect: reflect.Value.Set using unaddressable value [recovered] . But when I try to remove the other field which is shown in the 'good too' test, it works.
The detailed error information:
To Reproduce
Expected behavior The 'bad' test case in the above should works as well as the other two.
Versions