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

Unified Diff: test/protos/duplicate_names_import.proto

Issue 128003003: Fix issue with importing packages where the package name included a dot (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Update pubspec version Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/generated_message_test.dart ('k') | test/protos/package1.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/protos/duplicate_names_import.proto
diff --git a/test/protos/duplicate_names_import.proto b/test/protos/duplicate_names_import.proto
new file mode 100644
index 0000000000000000000000000000000000000000..4af862acf52f8f6564399aad7bd6c8a194d57350
--- /dev/null
+++ b/test/protos/duplicate_names_import.proto
@@ -0,0 +1,20 @@
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+syntax = "proto2";
+
+package pkg;
+
+import "package1.proto";
+import "package2.proto";
+import "package3.proto";
+
+message M {
+ optional pkg1.M m1 = 1;
+ optional pkg1.M.M m1_m = 2;
+ optional pkg1.pkg2.M m2 = 3;
+ optional pkg1.pkg2.M.M m2_m = 4;
+ optional pkg1_pkg2.M m3 = 5;
+ optional pkg1_pkg2.M.M m3_m = 6;
+}
« no previous file with comments | « test/generated_message_test.dart ('k') | test/protos/package1.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698