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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to