commit | 0cec5a071b770ade8d1e011e5325043d74e78ea5 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Wed May 11 01:39:41 2016 -0700 |
committer | Todd Wang <toddw@google.com> | Wed May 11 01:46:59 2016 -0700 |
tree | 2cbd57070d41c16de132b2e12bd732d53b59fcb4 | |
parent | b18f9b0477145362f0587200f316eb06b62ae653 [diff] |
Fix vdl.Read handling of nils and native types. The old logic had the native type handling in the wrong place, so we'd never handle our pointer tests correctly. The handling for native types that are filled in with nil is even more tricky, and needs special handling. These are used to handle errors. After this CL, all the new convert tests pass with -vdltest='!VWire', which means that we're not running native type tests, but are running error tests. The native types cause a crash which I'll look into tomorrow. The verror.Msg issue was quite annoying to track down. I believe it's caused by complexity in the verror struct itself; the Msg field isn't always set. Regardless, the fix in VDLEqual is semantically sound. Change-Id: I387ff09097038560a123f9a96091c61c5a018e2a
This repository defines the Go APIs of Vanadium.