Bug 351249 - Compiler can't correclty parse "storedLength + 4 < opt_len >> 3"
Summary: Compiler can't correclty parse "storedLength + 4 < opt_len >> 3"
Status: RESOLVED DUPLICATE of bug 314903
Alias: None
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: x86-64 Ubuntu
: P5 - None : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 22:33 UTC by Frederik Carlier
Modified: 2008-01-03 12:33 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
File required to reproduce the bug (simplified) (360 bytes, text/x-csharp)
2008-01-02 22:34 UTC, Frederik Carlier
Details
Original file, exposing the bug, unmodified (24.78 KB, text/x-csharp)
2008-01-02 22:35 UTC, Frederik Carlier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Carlier 2008-01-02 22:33:49 UTC
Compiling the attached file fails on Mono, but works with Microsoft's compiler. It is part of an dependency of Open Dental.

Attached are two files, "Bug.cs" wich is a short case, and the complete file at which Mono's compiler barks.

The symptom is that when running 
  gmcs Bug.cs
you get 
  Bug.cs(9,77): error CS1002: Expecting `;'
  Compilation failed: 1 error(s), 0 warnings
but it should be
  Bug.cs(9,77): error CS1002: Expecting `;'
  Compilation failed: 1 error(s), 0 warnings
Comment 1 Frederik Carlier 2008-01-02 22:34:15 UTC
Sorry, it should be:
Bug.cs(9,70): error CS0103: The name `opt_len' does not exist in the current context
Bug.cs(10,33): error CS0103: The name `FlushStoredBlock' does not exist in the current context
Comment 2 Frederik Carlier 2008-01-02 22:34:53 UTC
Created attachment 189063 [details]
File required to reproduce the bug (simplified)
Comment 3 Frederik Carlier 2008-01-02 22:35:20 UTC
Created attachment 189064 [details]
Original file, exposing the bug, unmodified
Comment 4 Marek Safar 2008-01-03 12:33:34 UTC

*** This bug has been marked as a duplicate of bug 314903 ***