Lambda Spec: derive inference constraints from non-overloaded, non-generic method references

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: specification

      When there is no overloading at all for a method, nor any type parameters, inference still treats a reference to that method as stuck until it can determine parameter types. This surprises users, who expect the method reference to have an obvious, bottom-up type, just like a variable reference.

      When a method is not overloaded and not generic, it's straightforward to identify the type constraints without waiting for the parameter types to be inferred.

            Assignee:
            Dan Smith
            Reporter:
            Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: