cuelang.org/go@v0.10.1/internal/core/export/testdata/main/issue662.txtar (about)

     1  
     2  -- uplot.cue --
     3  #LineConfig: {
     4  	lineColor?: string
     5  }
     6  
     7  #GraphFieldConfig: #LineConfig & {
     8  	drawStyle?: int
     9  }
    10  -- out/definition --
    11  #LineConfig: {
    12  	lineColor?: string
    13  }
    14  #GraphFieldConfig: #LineConfig & {
    15  	drawStyle?: int
    16  }
    17  -- out/doc-v3 --
    18  []
    19  [#LineConfig]
    20  [#LineConfig lineColor]
    21  [#GraphFieldConfig]
    22  [#GraphFieldConfig drawStyle]
    23  [#GraphFieldConfig lineColor]
    24  -- diff/-out/doc-v3<==>+out/doc --
    25  diff old new
    26  --- old
    27  +++ new
    28  @@ -2,5 +2,5 @@
    29   [#LineConfig]
    30   [#LineConfig lineColor]
    31   [#GraphFieldConfig]
    32  -[#GraphFieldConfig lineColor]
    33   [#GraphFieldConfig drawStyle]
    34  +[#GraphFieldConfig lineColor]
    35  -- diff/doc/explanation --
    36  reordering
    37  -- out/doc --
    38  []
    39  [#LineConfig]
    40  [#LineConfig lineColor]
    41  [#GraphFieldConfig]
    42  [#GraphFieldConfig lineColor]
    43  [#GraphFieldConfig drawStyle]
    44  -- out/value-v3 --
    45  == Simplified
    46  {}
    47  == Raw
    48  {
    49  	#LineConfig: {
    50  		lineColor?: string
    51  	}
    52  	#GraphFieldConfig: {
    53  		drawStyle?: int
    54  		lineColor?: string
    55  	}
    56  }
    57  == Final
    58  {}
    59  == All
    60  {
    61  	#LineConfig: {
    62  		lineColor?: string
    63  	}
    64  	#GraphFieldConfig: {
    65  		drawStyle?: int
    66  		lineColor?: string
    67  	}
    68  }
    69  == Eval
    70  {
    71  	#LineConfig: {
    72  		lineColor?: string
    73  	}
    74  	#GraphFieldConfig: {
    75  		drawStyle?: int
    76  		lineColor?: string
    77  	}
    78  }
    79  -- diff/-out/value-v3<==>+out/value --
    80  diff old new
    81  --- old
    82  +++ new
    83  @@ -6,8 +6,8 @@
    84   		lineColor?: string
    85   	}
    86   	#GraphFieldConfig: {
    87  -		lineColor?: string
    88  -		drawStyle?: int
    89  +		drawStyle?: int
    90  +		lineColor?: string
    91   	}
    92   }
    93   == Final
    94  @@ -18,8 +18,8 @@
    95   		lineColor?: string
    96   	}
    97   	#GraphFieldConfig: {
    98  -		lineColor?: string
    99  -		drawStyle?: int
   100  +		drawStyle?: int
   101  +		lineColor?: string
   102   	}
   103   }
   104   == Eval
   105  @@ -28,7 +28,7 @@
   106   		lineColor?: string
   107   	}
   108   	#GraphFieldConfig: {
   109  -		lineColor?: string
   110  -		drawStyle?: int
   111  +		drawStyle?: int
   112  +		lineColor?: string
   113   	}
   114   }
   115  -- diff/value/explanation --
   116  reordering
   117  -- out/value --
   118  == Simplified
   119  {}
   120  == Raw
   121  {
   122  	#LineConfig: {
   123  		lineColor?: string
   124  	}
   125  	#GraphFieldConfig: {
   126  		lineColor?: string
   127  		drawStyle?: int
   128  	}
   129  }
   130  == Final
   131  {}
   132  == All
   133  {
   134  	#LineConfig: {
   135  		lineColor?: string
   136  	}
   137  	#GraphFieldConfig: {
   138  		lineColor?: string
   139  		drawStyle?: int
   140  	}
   141  }
   142  == Eval
   143  {
   144  	#LineConfig: {
   145  		lineColor?: string
   146  	}
   147  	#GraphFieldConfig: {
   148  		lineColor?: string
   149  		drawStyle?: int
   150  	}
   151  }