mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update github.com/zclconf/go-cty to v1.14.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
4
vendor/github.com/zclconf/go-cty/cty/value_range.go
generated
vendored
4
vendor/github.com/zclconf/go-cty/cty/value_range.go
generated
vendored
@ -21,6 +21,10 @@ import (
|
||||
// offered by ranges and so can share code between both known and unknown
|
||||
// values.
|
||||
func (v Value) Range() ValueRange {
|
||||
if v.IsMarked() {
|
||||
panic("Value.Range on marked value; must be unmarked first")
|
||||
}
|
||||
|
||||
// For an unknown value we just use its own refinements.
|
||||
if unk, isUnk := v.v.(*unknownType); isUnk {
|
||||
refinement := unk.refinement
|
||||
|
Reference in New Issue
Block a user