Closed bep closed 2 years ago
Thanks a lot for trying it out! I think this patch should fix the regression: https://github.com/pelletier/go-toml/commit/2377ac4bc04c4d1fff969c02c1ec02bde202166b (incorrectly trying to walk an embedded interface as if it was a struct).
Yes, the tests passes with 2377ac4bc04c4d1fff969c02c1ec02bde202166b
Got some tests errors in Hugo. Note that the failures comes from some usage of
Encode
in some old test code that in itself looks suspicious and needs fixing. But I suspect that the error situation is a real one and needs a well defined behaviour.Note that
config.Provider
is an interface (https://godocs.io/github.com/gohugoio/hugo/config#Provider) implemented by a plain struct.In beta6, this is what: