Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: test/protos/mixins.proto

Issue 2103743002: Rename mixin protos and add a check for undefined mixin name (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« lib/message_generator.dart ('K') | « test/protos/dart_options.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 syntax = "proto2"; 1 syntax = "proto2";
2 2
3 import "dart_options.proto"; 3 import "dart_options.proto";
4 4
5 option (dart_options.imported_mixins) = { 5 option (dart_options.imports) = {
6 mixins: [{ 6 mixins: [{
7 name: "Mixin1" 7 name: "Mixin1"
8 import_from: "package:protoc_plugin/testing/mixins.dart" 8 import_from: "package:protoc_plugin/testing/mixins.dart"
9 }, 9 },
10 { 10 {
11 name: "Mixin2" 11 name: "Mixin2"
12 import_from: "package:protoc_plugin/testing/mixins.dart" 12 import_from: "package:protoc_plugin/testing/mixins.dart"
13 }, 13 },
14 { 14 {
15 name: "Mixin3" 15 name: "Mixin3"
(...skipping 16 matching lines...) Expand all
32 option (dart_options.mixin) = "Mixin2"; 32 option (dart_options.mixin) = "Mixin2";
33 33
34 optional string overridden_has_method = 3; 34 optional string overridden_has_method = 3;
35 } 35 }
36 36
37 message Mixin3PB { 37 message Mixin3PB {
38 option (dart_options.mixin) = "Mixin3"; 38 option (dart_options.mixin) = "Mixin3";
39 39
40 optional string interface_string = 1; 40 optional string interface_string = 1;
41 } 41 }
OLDNEW
« lib/message_generator.dart ('K') | « test/protos/dart_options.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698