summaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin/etc
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-09-14 17:26:28 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2018-09-14 17:26:28 +0200
commite0eff2edc1bd975f34759618c8023498f70561e6 (patch)
tree78804fd718164b77f1e17c637c93b3973fc0e359 /vespa-documentgen-plugin/etc
parenta769712c6ad927ba51b15024bd368a19b01dade0 (diff)
Ensure that we do not get duplicates or have conflicting field definitions when using multiple inheritance.
Diffstat (limited to 'vespa-documentgen-plugin/etc')
-rw-r--r--vespa-documentgen-plugin/etc/complex/common2.sd9
-rw-r--r--vespa-documentgen-plugin/etc/complex/music3.sd8
2 files changed, 17 insertions, 0 deletions
diff --git a/vespa-documentgen-plugin/etc/complex/common2.sd b/vespa-documentgen-plugin/etc/complex/common2.sd
new file mode 100644
index 00000000000..e32d3ed6751
--- /dev/null
+++ b/vespa-documentgen-plugin/etc/complex/common2.sd
@@ -0,0 +1,9 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search common2 {
+ document {
+ field com2 type string {
+
+ }
+ }
+}
+
diff --git a/vespa-documentgen-plugin/etc/complex/music3.sd b/vespa-documentgen-plugin/etc/complex/music3.sd
new file mode 100644
index 00000000000..65f37029d04
--- /dev/null
+++ b/vespa-documentgen-plugin/etc/complex/music3.sd
@@ -0,0 +1,8 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search music3 {
+ document music3 inherits music2, common2 {
+ field mu3 type string {
+
+ }
+ }
+}