...

Text file src/cuelang.org/go/internal/core/export/testdata/main/topo.txtar

Documentation: cuelang.org/go/internal/core/export/testdata/main

     1TODO: right now precedence goes to the first list. Perhaps we should give
     2precedence to the longest list. In that case, `b` would be sorted before `a`.
     3
     4-- a.cue --
     5a: 1
     6c: 2
     7e: 3
     8g: 4
     9-- b.cue --
    10b: 1 // unanchored
    11c: 2
    12e: 3
    13f: 4
    14g: 4
    15-- out/definition --
    16a: 1
    17b: 1
    18c: 2
    19e: 3
    20f: 4
    21g: 4
    22-- out/doc --
    23[]
    24[a]
    25[c]
    26[e]
    27[g]
    28[b]
    29[f]
    30-- out/value --
    31== Simplified
    32{
    33	a: 1
    34	b: 1
    35	c: 2
    36	e: 3
    37	f: 4
    38	g: 4
    39}
    40== Raw
    41{
    42	a: 1
    43	b: 1
    44	c: 2
    45	e: 3
    46	f: 4
    47	g: 4
    48}
    49== Final
    50{
    51	a: 1
    52	b: 1
    53	c: 2
    54	e: 3
    55	f: 4
    56	g: 4
    57}
    58== All
    59{
    60	a: 1
    61	b: 1
    62	c: 2
    63	e: 3
    64	f: 4
    65	g: 4
    66}
    67== Eval
    68{
    69	a: 1
    70	b: 1
    71	c: 2
    72	e: 3
    73	f: 4
    74	g: 4
    75}

View as plain text