Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000488 | mercury | Bug | public | 2019-10-27 17:14 | 2019-10-28 05:02 |
Reporter | juliensf | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000488: Variable as pred name in predmode decl causes generates incorrect error message | ||||
Description | Using a variable as predicate name in a predmode decl, for example: :- pred MyPred(int::in, int::out) is semidet. results in the following: foo.m:007: Error: some but not all arguments have modes. foo.m:007: The argument without a mode is the first. Using a variable in a separate predicate or mode declaration for a predicate results in a correct error message. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2019-10-27 17:14 | juliensf | New Issue | |||
2019-10-27 17:24 | zs | Assigned To | => zs | ||
2019-10-27 17:24 | zs | Status | new => assigned | ||
2019-10-28 05:02 | zs | Status | assigned => resolved | ||
2019-10-28 05:02 | zs | Resolution | open => fixed | ||
2019-10-28 05:02 | zs | Note Added: 0001055 |