[Mono-bugs] [Bug 408096] New: Compiler error on expression containing right bit operation
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jul 10 16:51:13 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=408096
Summary: Compiler error on expression containing right bit
operation
Product: Mono: Compilers
Version: 1.9.0
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Major
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: april.white at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Other
Created an attachment (id=227092)
--> (https://bugzilla.novell.com/attachment.cgi?id=227092)
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.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list