View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
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 | ||||||
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. | ||||||||
Attached Files |
|