blob: 0e56be4fec8a02e4842adb0faac96c7a8baad911 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema simple {
document simple {
struct base {
field name type string {}
}
struct child inherits base {
field age type int {}
}
struct grandchild inherits child {
field toy type string {}
}
field f1 type child {}
field f2 type grandchild {}
}
}
|