Ticket #3018 (closed bug: fixed)
Constraints of function in record appears to nullifiy instance constraints.
| Reported by: | ben.kavanagh | Owned by: | simonpj |
|---|---|---|---|
| Priority: | normal | Milestone: | _|_ |
| Component: | Compiler | Version: | 6.10.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | typecheck/should_compile/T3018 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
If an field of a record that has constraints in its type, defining a value for this field appears to cause the compiler to ignore outer level constraints declared for an instance.
This problem restricts generic functions written in syb-with-class and replib style to functions that do not have constraints.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

