[Mono-bugs] [Bug 389622] New: gmcs: Overload verification expected failure

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 13 00:59:20 EDT 2008


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


           Summary: gmcs: Overload verification expected failure
           Product: Mono: Compilers
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: petee at mindtouch.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


The attached (invalid) code crashes gmcs with the error message below.  csc
displays an error message.

$ gmcs bug-001.cs 
Exception caught by the compiler while compiling:
   Block that caused the problem begin at: bug-001.cs(11,17):
                     Block being compiled:
[bug-001.cs(11,37):,bug-001.cs(18,5):]
Mono.CSharp.InternalErrorException: Overload verification expected failure
Internal compiler error at bug-001.cs(11,17):: exception caught while emitting
MethodBuilder [Test::Main]

Unhandled Exception: Mono.CSharp.InternalErrorException: Overload verification
expected failure
  at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc)
[0x00000] 
  at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec)
[0x00000] 
  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000] 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext
ec) [0x00000] 
  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters
ip, IMethodData md, System.Boolean& unreachable) [0x00000]


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