commit | 30abd663c2306614cf13c092f0a72079f94ce3b9 | [log] [tgz] |
---|---|---|
author | Yujun Zhang <zhangyujun@gmail.com> | Tue May 11 08:40:04 2021 +0200 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Tue May 11 07:13:05 2021 +0000 |
tree | d8160072a532cb6f422829d142950a65c6a59c71 | |
parent | 858efa92ad0bfd9d477145cac9109e3fffd2897b [diff] |
internal/core/adt: fix typo Closes #959 https://github.com/cuelang/cue/pull/959 GitOrigin-RevId: d568806b56d4179e3a5553173e1611224c2458c7 Change-Id: I7563f76aa4704e1f3de4d2aebef9139877c662bb Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9801 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/internal/core/adt/eval.go b/internal/core/adt/eval.go index d750776..88cf289 100644 --- a/internal/core/adt/eval.go +++ b/internal/core/adt/eval.go
@@ -2072,7 +2072,7 @@ 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