Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
internal/core/adt: update comments for Subsume
Browse files Browse the repository at this point in the history
Change-Id: I8fa94733e8f35234b6a7405e17f9fe9a21f4bc53
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9184
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
  • Loading branch information
mpvl committed Mar 29, 2021
1 parent 7ca3968 commit a6e1627
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cue/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1716,13 +1716,10 @@ func (v Value) Template() func(label string) Value {
//
// Without options, the entire value is considered for assumption, which means
// Subsume tests whether v is a backwards compatible (newer) API version of w.
// Use the Final() to indicate that the subsumed value is data, and that
//
// Use the Final option to check subsumption if a w is known to be final,
// and should assumed to be closed.
//
// Options are currently ignored and the function will panic if any are passed.
//
// Value v and w must be obtained from the same build.
// TODO: remove this requirement.
func (v Value) Subsume(w Value, opts ...Option) error {
Expand Down

0 comments on commit a6e1627

Please sign in to comment.