Open neilalexander opened 1 day ago
Previous behaviour of checking interface is nil didn't do the right thing as a nil parameter could still be wrapped in an interface descriptor that itself would be non-nil, so use reflection instead.
nil
Signed-off-by: Neil Twigg neil@nats.io
Previous behaviour of checking interface is
nil
didn't do the right thing as anil
parameter could still be wrapped in an interface descriptor that itself would be non-nil
, so use reflection instead.Signed-off-by: Neil Twigg neil@nats.io