[Mono-bugs] [Bug 644507] New: Git rev 315c26d779969c90bdac introduces internal compiler error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 7 06:23:44 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=644507#c0


           Summary: Git rev 315c26d779969c90bdac introduces internal
                    compiler error
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: All
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: j.bogdoll at gmx.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10)
Gecko/20100915 Ubuntu/9.04 (jaunty) Firefox/3.6.10

Test case:

------------------------------------------
using C5;

public class Test
{
  public static void Main(string[] args)
  {
    IList<int> X = new LinkedList<int>();
    X.Add(1);
  }
}
------------------------------------------


Reproducible: Always

Steps to Reproduce:
Attempt to compile test case.

Actual Results:  
gmcs /r:System.dll /r:C5.dll testcase.cs 
testcase.cs(7,32): error CS0584: Internal compiler error: Object reference not
set to an instance of an object
testcase.cs(7,28): error CS0266: Cannot implicitly convert type `object' to
`C5.IList<int>'. An explicit conversion exists (are you missing a cast?)
Compilation failed: 2 error(s), 0 warnings


Expected Results:  
Successful compilation.


Code compiles fine (as before) when revision 315c26d779969c90bdac is reverted.

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