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: fix typo
Browse files Browse the repository at this point in the history
Closes #959
#959

GitOrigin-RevId: d568806
Change-Id: I7563f76aa4704e1f3de4d2aebef9139877c662bb
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9801
Reviewed-by: CUE cueckoo <[email protected]>
Reviewed-by: Marcel van Lohuizen <[email protected]>
  • Loading branch information
yujunz authored and mpvl committed May 11, 2021
1 parent 858efa9 commit 30abd66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/adt/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -2072,7 +2072,7 @@ outer:
n.insertField(label, MakeConjunct(l.env, x, l.id))
}

// Terminate early n case of runaway comprehension.
// Terminate early in case of runaway comprehension.
if !isOpen && int(index) > max {
n.invalidListLength(max, len(l.list.Elems), maxNode, l.list)
continue outer
Expand Down

0 comments on commit 30abd66

Please sign in to comment.