[Mono-bugs] [Bug 603784] New: VB.Net ternary if operator crashes VBNC

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 7 11:05:59 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=603784#c0


           Summary: VB.Net ternary if operator crashes VBNC
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.2.x
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: cfpcompte at yahoo.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: DeveloperNet
           Blocker: ---


Running the following code:

    Public Function TestEmpty(ByVal Str As String) As String
        Return If(Str = "", "Empty", Str)

    End Function


Will crash the compiler with the following error:

Error VBNC99999: Unexpected error: There has been an internal error in the
compiler: (VBNC99999)

CFP.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list