]
Adrian Nistor updated IPROTO-4:
-------------------------------
Status: Open (was: New)
Nested message type definitions should not be allowed in
'extend' declarations
------------------------------------------------------------------------------
Key: IPROTO-4
URL:
https://issues.jboss.org/browse/IPROTO-4
Project: Infinispan ProtoStream
Issue Type: Bug
Reporter: Adrian Nistor
The test DescriptorsTest.testNestedMessageInExtend demonstrates these declarations are
ignored. But the correct way to handle this is to throw a parsing error similar to
protoc.
In proto3 we should ban extend declarations completely.