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
internal/astinternal: use reflect.Value.IsNil consistently
The code was using a mix of IsValid and IsNil checks on reflect.Value;
use IsNil consistently. This is a few more lines of code, but it's
also more obvious. While here, make the comments a bit clearer.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I8fcd0f2cb43e9861807a4eccd78de4e66f6a419b
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1200889
Reviewed-by: Roger Peppe <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
0 commit comments