[Mono-bugs] [Bug 355178] New: Crash with lambdas and namespaces

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 22 00:27:39 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=355178


           Summary: Crash with lambdas and namespaces
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The following crash happened when I tried to import the gtest-etree-01.cs into
an NUnit test case (I want to test some other stuff there):

using System;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;

namespace MonoTests.System.Linq.Expressions
{
        public class ExpressionTest_And
        {
                void AndTest ()
                {
                        Expression<Func<bool, bool, bool>> e = (bool a, bool b)
=> a & b;
                }
        }
}

The bug goes away if you remove the namespace declaration;  I suspect that the
namespace is causing some trouble


-- 
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