[Mono-bugs] [Bug 618539] New: Using "if (expression)" when expression overloads the true and false operators causes internal compiler error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 29 23:28:23 EDT 2010



           Summary: Using "if (expression)"  when expression overloads the
                    true and false operators causes internal compiler
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: 64bit
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dale.ragan at sinesignal.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4
(KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4

Well, I am prepping to begin the development of the Git integration add-in for
MonoDevelop by getting GitSharp library ready for use.  Unfortunately,
compiling the GitSharp project under Mono results in a internal compiler error
due to using an expression type in an if statement that overloads the true and
false operators.

Reproducible: Always

Steps to Reproduce:
1. Using Git, clone git://github.com/sinesignal/GitSharp.git
2. Open the solution in MonoDevelop
3. Try to compile the solution
Actual Results:  
Throws an internal compiler error for the GitSharp.Core project on line 76 in
the Util/NestedDictionary.cs file.

Expected Results:  
The solution and project to compile.

This seems to be the only block of code keeping me from compiling, if I change
it slightly by checking to make sure the value is not null, the solution

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