Skip to content

Commit

Permalink
cue: deprecate Merge
Browse files Browse the repository at this point in the history
Fixes #703

Change-Id: Ieb8f7fd04c1846cebc451b1ddc287f0b241ec6af
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8461
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
  • Loading branch information
myitcv committed Feb 4, 2021
1 parent 09cd07b commit c6f1287
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cue/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,7 @@ func (inst *Instance) Eval(expr ast.Expr) Value {

// Merge unifies the given instances into a single one.
//
// Errors regarding conflicts are included in the result, but not reported, so
// that these will only surface during manifestation. This allows
// non-conflicting parts to be used.
// Deprecated: do not use.
func Merge(inst ...*Instance) *Instance {
v := &adt.Vertex{}

Expand Down

0 comments on commit c6f1287

Please sign in to comment.