add a warning to detect diamond sites

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: tools
    • b118
    • unknown
    • generic
    • Verified

      Add a warning that detects diamond sites:

      class Foo<T> {
      Foo(T t) {}
      }

      Foo<String> fs = new Foo<String>(); //compiler should optionally issue a warning here

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: