OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-671) The signature of the cast function uses an incorrect return-type.


Martin Zurmuehl created ODATA-671:
-------------------------------------

             Summary: The signature of the cast function uses an incorrect return-type.
                 Key: ODATA-671
                 URL: https://tools.oasis-open.org/issues/browse/ODATA-671
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: OData URL Conventions 
    Affects Versions: V4.0_OS
         Environment: [Applied]
            Reporter: Martin Zurmuehl
            Assignee: Martin Zurmuehl
             Fix For: V4.0_ERRATA01


In 5.1.1.4.29 the signature of the cast function specifies the non-existing return type Edm.Any.
The return type of the cast function is determined by the type parameter of the function, so the correct signature is
  type cast(type)
  type cast(expression,type)
(as stated by the description "The single parameter cast function returns the current instance cast to the type specified. The two-parameter cast function returns the object referred to by the expression cast to the type specified.")



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]