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


           Summary: nullable values cannot be passed to not-nullable
                    interface, while ms.net accepts it
    Classification: Mono
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.1
(KHTML, like Gecko) Chrome/4.0.213.1 Safari/532.1

Boolean? test;  //create a bool
Test(test);//pass bool to function
void Test(bool test){}

the test above gives a compiler error cannot convert bool? to bool, while
ms.net is accepting this.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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

Reply via email to