| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0000177 | mercury | Bug | public | 2011-01-07 17:23 | 2011-01-19 11:05 | ||||||||
| Reporter | juliensf | ||||||||||||
| Assigned To | |||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||
| Status | new | Resolution | open | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0000177: incorrect C# code generated when compiling extras/moose | ||||||||||||
| Description | Attempting to build moose in the C# grade (rotd-2011-01-07) results in the following: Mercury/css/misc.cs(206,8): error CS1519: Unexpected symbol `=' in class, struct, or interface member declaration Mercury/css/misc.cs(210,45): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(228,22): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(245,45): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(263,22): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(280,45): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(289,22): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(297,43): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(312,43): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(327,43): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(342,43): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(356,43): error CS0116: A namespace can only contain types and namespace declarations Mercury/css/misc.cs(375,14): error CS1518: Expected `class', `delegate', `enum', `interface', or `struct' Mercury/css/misc.cs(381,1): error CS8025: Parsing error | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files |
| ||||||||||||
Notes |
|
|
wangp (developer) 2011-01-12 16:38 |
:- type '' ---> ''. is just silly and should be banned. I believe it is unused anyway. |
|
juliensf (administrator) 2011-01-19 00:05 |
I have removed the above type from moose. (There is probably still an issue here with name mangling for the C# backend in general?) |
|
wangp (developer) 2011-01-19 11:05 |
Probably, though the C# backend uses the same name mangling algorithm as everything else. '' just happens to work in C grades because everything is prefixed. |


