syntax = "proto3";

option (custom.message_thing_option) = { foo: 5 };

option (custom.service_thing_option) = { foo: 1  bar: 2   };

option (custom.file_thing_option) = {
  foo: 1
  bar: 2
  truth: false
  recursive: {
    foo: 3
    bar: 4
    truth: true
  }
};

// Single-element dicts inside arrays should stay inline.
option (custom.array_of_dicts) = {
  things: [
    {foo: 99},
    {foo: 98}
  ]
};

// Issue 9: Message literal with inline block comments should expand
// to multi-line.
option (custom.commented_option) = {/*leading*/ foo: 1 /*trailing*/};
