Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000486 | mercury | Bug | public | 2019-09-29 04:00 | 2019-09-29 14:06 |
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 | 0000486: Partially qualified types in foreign_enum pragmas not working with rotd-2019-09-28 | ||||
Description | extras/graphics/mercury_glut/glut.window.m contains the following type and foreign_enum declaration. :- type window.state ---> x ; y ; window_width .... :- pragma foreign_enum("C", window.state/0, [ x - "GLUT_WINDOW_X", y - "GLUT_WINDOW_Y", window_width - "GLUT_WINDOW_WIDTH" Building the short interface for glut.window now results in: glut.window.m:689: Error: `:- pragma foreign_enum' declaration for the glut.window.m:689: undeclared type `state'/0. (The error goes away if the type name in the foreign_enum pragma is fully qualified.) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2019-09-29 04:00 | juliensf | New Issue | |||
2019-09-29 04:02 | zs | Assigned To | => zs | ||
2019-09-29 04:02 | zs | Status | new => assigned | ||
2019-09-29 14:06 | zs | Status | assigned => resolved | ||
2019-09-29 14:06 | zs | Resolution | open => fixed | ||
2019-09-29 14:06 | zs | Note Added: 0001053 |