|
Bugzilla – Full Text Bug Listing |
| Summary: | Compiler error on expression containing right bit operation | ||
|---|---|---|---|
| Product: | [Mono] Mono: Compilers | Reporter: | April White <april.white> |
| Component: | C# | Assignee: | Mono Bugs <mono-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | 1.9 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | test case showing the compiler error | ||
*** This bug has been marked as a duplicate of bug 314903 *** gmcs --version Mono C# compiler version 1.9.1.0 |
Created attachment 227092 [details] test case showing the compiler error Description of Problem: Compiler fails to parse an expression containing a right bit shift operation. Simple expressions as such are compiled, a more complex one fails. Steps to reproduce the problem: 1. compile the attached file: gmcs invalid-parsing.cs 2. Actual Results: invalid-parsing.cs(39,79): error CS1002: Expecting `;' invalid-parsing.cs(43,25): error CS1518: Expected `class', `delegate', `enum', `interface', or `struct' Expected Results: No error message. How often does this happen? Repeatable. Additional Information: Enclosing the sub-expression with brackets eliminates the error.