| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005889 | OCaml | OCaml typing | public | 2013-01-13 22:12 | 2013-01-14 14:20 |
|
| Reporter | hongboz | |
| Assigned To | | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0005889: polymorphic variant typing error message not meaningful |
| Description | type 'a u3 = [< `b | `a of & int & bool ] as 'a;;
File "", line 1:
Error: Type declarations do not match:
type 'a u3 = 'a constraint 'a = [< `a of & int & bool | `b ]
is not included in
type 'a u3 = 'a constraint 'a = [< `a of & int & bool | `b ] |
| Tags | No tags attached. |
|
| Attached Files | |
|