[Mono-bugs] [Bug 629383] New: Incorrect generics behavior when used as optional argument.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 8 04:35:31 EDT 2010


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

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


           Summary: Incorrect generics behavior when used as optional
                    argument.
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kramieb at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3
(KHTML, like Gecko) Chrome/6.0.472.0 Safari/534.3

error CS1502: The best overloaded method match for
`Program<object>.Foo(Generic<object>)' has some invalid arguments
error CS1503: Argument `#1' cannot convert `Generic<T>' expression to type
`Generic<object>'

Reproducible: Always

Steps to Reproduce:
Compile the attachment with dmcs from
http://github.com/mono/mono/tree/5240533e2b25b78bb825bf09f1acd33d7e72be70

-- 
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.


More information about the mono-bugs mailing list