qualified names not permitted everywhere in instances
consider using a class that is imported qualified only:
-
we cannot define instance methods, as their qualified names are not accepted (this restriction makes sense at top-level, but not in instances)
-
we cannot refer to instances in instance contexts, as their qualified names are not accepted (they are accepted in class contexts, and -XFlexibleInstances accepts them in instance contexts)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.9 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (Parser) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |