Skip to content

Commit f59894c

Browse files
committed
internal/core/adt: make ListMarker Src an expression
This simplifies making a binary expression out of it. This will help the new evaluator implementation. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ia7a4698b28b658c577a67fab7ba303f2079bf089 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1172007 Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
1 parent fb88beb commit f59894c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/core/adt/expr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ func (x *Bytes) Kind() Kind { return BytesKind }
367367
// vertices.
368368

369369
type ListMarker struct {
370-
Src ast.Node
370+
Src ast.Expr
371371
IsOpen bool
372372
}
373373

0 commit comments

Comments
 (0)