this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

core/adt: rename CompositKind to CompositeKind

Composit isn't an English word.

Signed-off-by: Matthew Sackman <matthew@cue.works>
Change-Id: Ic8396db6cb0148d9b5d3bb032f82a87af1f980fa
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197438
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+3 -3
+1 -1
internal/core/adt/eval.go
··· 1495 1495 switch len(a) { 1496 1496 case 0: 1497 1497 // Src is the combined input. 1498 - if state >= conjuncts || n.kind&^CompositKind == 0 { 1498 + if state >= conjuncts || n.kind&^CompositeKind == 0 { 1499 1499 v = &BasicType{K: n.kind} 1500 1500 } 1501 1501
+1 -1
internal/core/adt/expr.go
··· 1420 1420 } 1421 1421 1422 1422 default: 1423 - if v.Kind().IsAnyOf(CompositKind) && v.Concreteness() > Concrete && state < conjuncts { 1423 + if v.Kind().IsAnyOf(CompositeKind) && v.Concreteness() > Concrete && state < conjuncts { 1424 1424 c.PopState(s) 1425 1425 c.AddBottom(cycle) 1426 1426 return nil
+1 -1
internal/core/adt/kind.go
··· 80 80 ScalarKinds = NullKind | BoolKind | 81 81 IntKind | FloatKind | StringKind | BytesKind 82 82 83 - CompositKind = StructKind | ListKind 83 + CompositeKind = StructKind | ListKind 84 84 ) 85 85 86 86 func kind(v Value) Kind {