Bugzilla – Bug 351249
Compiler can't correclty parse "storedLength + 4 < opt_len >> 3"
Last modified: 2008-01-03 12:33:34 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
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
Created attachment 189063 [details] File required to reproduce the bug (simplified)
Created attachment 189064 [details] Original file, exposing the bug, unmodified
*** This bug has been marked as a duplicate of bug 314903 ***