| Summary: | [pivot] Constructued Collection tupe problem | ||
|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 4.0.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
Java supports e.g. ArrayList<String> but not ArrayList<"a".getClass()>.
OCL similarly supports Set(String) but not Set('a'.oclType()).
Use of type-valued expressions for type-literals would be a significant language enhancement that needs a very substantial motivation.
CLOSED after a year in the RESOLVED state. |