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: rkvi...@novell.com
        ReportedBy: cfpcom...@yahoo.fr
         QAContact: mono-bugs@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.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to