github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/cue/parser/corpus/+commas.cue (about)

     1  package foo
     2  
     3  import "path/to/pkg"
     4  import name "path/to/pkg"
     5  import . "path/to/pkg"
     6  import      /* ERROR "expected 'STRING', found newline" */
     7  import err  /* ERROR "expected 'STRING', found newline" */
     8  
     9  foo: [
    10  	0 // legal JSON
    11  ]
    12  
    13  bar: [
    14  	0,
    15  	1,
    16  	2,
    17  	3
    18  ]