The issue comes from the fact that unexported struct-typed embedded fields were not handled separately leading to a panic when using Interface() function because of an unexported field.
Coverage decreased (-5.5%) to 81.5% when pulling 98ee26b726500ea41bdc3e558e5f89baba08d6d2 on kokaz:master into 92541fcfe55451eaf2811be04d38e001475c294f on evalphobia:master.
Coverage increased (+1.04%) to 88.0% when pulling 9845bdde550daee6a5827f42f8e1aac1b9ef2fba on kokaz:master into 92541fcfe55451eaf2811be04d38e001475c294f on evalphobia:master.
Coverage increased (+1.04%) to 88.0% when pulling d6dab98f91ac5b67226d290857050422d9bbe8ad on kokaz:master into 92541fcfe55451eaf2811be04d38e001475c294f on evalphobia:master.
The issue comes from the fact that unexported struct-typed embedded fields were not handled separately leading to a panic when using
Interface()
function because of an unexported field.Fix #14