[Mono-bugs] [Bug 438683] New: (Not var Is Nothing AndAlso False) generates incorrect code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 24 07:20:17 EDT 2008


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


           Summary: (Not var Is Nothing AndAlso False) generates incorrect
                    code
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Critical
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


test code:

imports system
class C
        shared function main as integer
                dim s as string = nothing
                dim result as boolean

                result = not s is nothing andalso false

                result = not result

                if result then
                        Console.writeline ("SUCCESS")
                        return 0
                else
                        Console.writeline ("FAIL")
                        return 1
                end if  
        end function
end class


-- 
Configure bugmail: https://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