You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inline: make it possible to gob encode/decode inlineMeFacts
Before this change gob encoding of these facts was failing with:
`gob: type analyzer.inlineMeFact has no exported fields`
gob encoding is required for all facts as analyzer drivers use it to
share facts between the analysis of different packages as stated in
the docs:
A Fact type must be a pointer. Facts are encoded and decoded using
encoding/gob. A Fact may implement the GobEncoder/GobDecoder
interfaces to customize its encoding. Fact encoding should not fail.
Change-Id: Ifb0eb57b0f582ec228a21a0d17e3bbd33c560d3d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/574435
Auto-Submit: Lasse Folger <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
0 commit comments