[Bug 1581] New: [FS] technical: 4.1.5 Function Calls: argument promotion

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1581

           Summary: [FS] technical: 4.1.5 Function Calls: argument promotion
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


4.1.5 Function Calls

STA / rule 3
"the type of each actual argument is a subtype of some type that can be
promoted to the type of the correponding function parameter."
statEnv |- Type1 <: Type1'
statEnv |- Type1' can be promoted to Type1''
    The "middleman" Type1' is unnecessary. The first premise implies that
        statEnv |- Type1 can be promoted to Type1'
    which, with the second premise and the transitivity of promotion,
    implies that
        statEnv |- Type1 can be promoted to Type1''
    which is a more concise statement of the constraint.

Received on Thursday, 14 July 2005 04:13:28 UTC