[Mono-bugs] [Bug 538172] New: Linq statement doesn't compile with gmcs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 10 14:24:22 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=538172


           Summary: Linq statement doesn't compile with gmcs
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: steve at srstrong.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=317704)
 --> (http://bugzilla.novell.com/attachment.cgi?id=317704)
test.cs code sample that shows the compiler error

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6; en-us)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

a linq statement that returns an anonymous type is failing to compile with
gmcs.  It compiles just fine with csc on Windows.  Code attached.

Reproducible: Always

Steps to Reproduce:
1.gmcs test.cs
2.
3.
Actual Results:  
compiler error

Expected Results:  
successful compile

I'm an NHibernate committer, working on the new Linq provider for version 3.0. 
I would like to be using Mono / Monodevelop to do some of the development on
Mac, but right now this compiler bug is stopping a number of my Linq tests from
compiling

-- 
Configure bugmail: http://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