dkpro / dkpro-cassis

UIMA CAS processing library written in Python
https://pypi.org/project/dkpro-cassis/
Apache License 2.0
85 stars 22 forks source link

Creating subtypes of inheritance-final types (arrays) is not prevented #186

Closed reckart closed 3 years ago

reckart commented 3 years ago

Describe the bug In UIMA, it is not allowed to create subtypes of array types. However, Cassis does allow this and there is even a unit test which features this.

To Reproduce Run a test using cas_with_collections.xmi.

Expected behavior An attempt to create a subtype of an inheritance-final type should through an error.

Please complete the following information: