Improve error message for unacceptable role annotations
It would be nice if this message:
Role mismatch on variable a:
Annotation says representational but role nominal is required
while checking a role annotation for `Point'
Could be extended to say where the requirement arises.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.8.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |