Priority
Show-stopper
Type
Bug 
State
Can't Reproduce 
Assignee
Dmitry Lomov 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
Next build 
Build
457
Checked in Build
500
  • Submitted by   Vladimir Reshetnikov
    2 years ago (11 Jun 2007 13:50)
  • Updated by Vladimir Reshetnikov
    2 years ago (29 Jun 2007 16:21)
  • Jira: RSRP-42876
    (history, comments)

RSRP-42876

Bogus error highlight for delegate creation expression

0
Added by <no user>
08 Feb 2010
delegate.PNG   (5 KB)

internal delegate void F<T>(T obj);

class Program
{
    static F<string> Foo(F<object> x)
    {
        return new F<string>(x); // here
    }
}


See Ecma-334, 14.5.10.3 Delegate creation expressions

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