Better support for finder capabilities in target-typing context

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8, 9
    • Component/s: tools
    • b44
    • Verified

        The current 'finder' features (find diamond, find lambda) is broken w.r.t. target-typing. Code such as this:

        List<String> ls = id(new ArrayList<String>())

        Will fail to detect that the type-argument of the instance creation expression is redundant.

              Assignee:
              Maurizio Cimadamore
              Reporter:
              Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: