Mirror of https://github.com/cue-lang/cue cuelang.org
cue go

internal: remove unnecessary Pos methods master

adt.BuiltinValidator had a Pos method which was never used. pkg.CallCtxt had a Pos method which was used within the same package, so inline the three uses instead, given its simplicity. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I23d1ed9e4daf2a738ebe31d55e8e87ce52e40aed Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1227395 Reviewed-by: Matthew Sackman <matthew@cue.works> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>


+3 -12
4 changed files