...

Text file src/cuelang.org/go/encoding/protobuf/textproto/testdata/decoder/errors.txtar

Documentation: cuelang.org/go/encoding/protobuf/textproto/testdata/decoder

     1# The textpbfmt library spots the error (wrong comment style),
     2# but note how its error message is somewhat confusing.
     3-- errors.cue --
     4a: int
     5-- input.textproto --
     6
     7// Silent nights
     8a: 1
     9
    10-- out/decode --
    11textproto: parser encountered unexpected : character (should be whitespace, or a ,; separator)

View as plain text