File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ // Protocol Buffers - Google's data interchange format
2+ // Copyright 2023 Google Inc. All rights reserved.
3+ //
4+ // Use of this source code is governed by a BSD-style
5+ // license that can be found in the LICENSE file or at
6+ // https://developers.google.com/open-source/licenses/bsd
7+
8+ edition = "2023";
9+
10+ package protobuf_editions_test.edition2023 ;
11+
12+ import "editions/codegen_tests/proto2_optional.proto" ;
13+
14+ message Edition2023ImportMessage {
15+ protobuf_editions_test.google.protobuf.Proto2Optional sub_message_field = 1 ;
16+ }
Original file line number Diff line number Diff line change 1+ // Protocol Buffers - Google's data interchange format
2+ // Copyright 2023 Google Inc. All rights reserved.
3+ //
4+ // Use of this source code is governed by a BSD-style
5+ // license that can be found in the LICENSE file or at
6+ // https://developers.google.com/open-source/licenses/bsd
7+
8+ edition = "2023";
9+
10+ package protobuf_editions_test.edition2023 ;
11+
12+ import "third_party/golang/protobuf/v2/src/google/protobuf/go_features.proto" ;
13+ import "google/protobuf/cpp_features.proto" ;
14+
15+ option features.(pb.go).api_level = API_OPAQUE;
16+
17+ message Edition2023ImportFeatureMessage {
18+ string view = 1 [features .(pb.cpp ).string_type = VIEW ];
19+ }
You can’t perform that action at this time.
0 commit comments