Priority
Major
Type
Bug 
State
Fixed 
Assignee
Dmitry Lomov 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
Next build 
Build
454
  • Submitted by   Vladimir Reshetnikov
    2 years ago (07 Jun 2007 15:15)
  • Updated by Vladimir Reshetnikov
    2 years ago (06 Jul 2007 10:31)
  • Jira: RSRP-42562
    (history, comments)

RSRP-42562

Problem with type inference

0
using System.Collections.Generic;

class Stuff
{
    static void Foo<T>(IList<IEnumerable<T>> x)
    {
    }

    static void Main()
    {
        string[] s = { };
        Foo(s); // ReSharper shows bogus error here
    }
}


Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments