DataUse.resolveDataType() ambiguous
The semantics of resolveDataType() operation is currently ambiguous as the specification doesn't say if the reduction is taken into account or not. The usage of the operation in constraints implies different meanings (sometimes with reduction other times without).
Example 1: "Type of a 'memberSpec' shall conform to the type of the 'member'" constraint expression assumes that resolveDataType() provides the type resolved after applying the reduction.
Example 2: "Structured data types in 'reduction' set" constraint expression assumes that resolveDataType() provides the base type.
Solution:
- Specify additional operation (for the second case) to distinguish between the two.
- Update the implementation of the resolveDataType() operation to return the type after the reduction is resolved.