]>
Commit | Line | Data |
---|---|---|
3d0c4829 EB |
1 | # FIXME: we should reject simple unions with a base |
2 | { 'type': 'TestTypeA', | |
3 | 'data': { 'string': 'str' } } | |
4 | ||
5 | { 'type': 'TestTypeB', | |
6 | 'data': { 'integer': 'int' } } | |
7 | ||
8 | { 'type': 'Base', | |
9 | 'data': { 'string': 'str' } } | |
10 | ||
11 | { 'union': 'TestUnion', | |
12 | 'base': 'Base', | |
13 | 'data': { 'value1': 'TestTypeA', | |
14 | 'value2': 'TestTypeB' } } |