Lambda Spec: S <= T should lead to = constraints, not <: constraints

XMLWordPrintable

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

      For soundness and consistency with the subtyping rules and JLS 7, the rules in 18.2.3 need to be changed as follows:

      A constraint formula of the form ⟨S <= T⟩, where S and T are type arguments, is reduced as follows:
      - If T is a type:
      -- If S is a type, the constraint reduces to ***⟨S = T⟩***.

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

              Created:
              Updated:
              Resolved: