History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-48630
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dmitry Lomov
Reporter: Ilya Ryzhenkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Completion shouldn't suggest type parameters of callee

Created: 05 Sep 07 13:14   Updated: Yesterday 14:35
Component/s: Code Completion
Fix Version/s: 4.5
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
private static List<T> DoubleItem<T>(T item)
    {
      return new List<T> { item, item };
    }

    static void foo()
    {
      var d = DoubleItem(|);// type "new<space>" here, T is suggested, which cannot be resolved afterwards
    }


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.