1redefined-type.json: In enum 'foo':
2redefined-type.json:3: 'foo' is already defined
3redefined-type.json: In struct 'foo':
4redefined-type.json:2: previous definition
5