Public bug reported:

If you declare two XQuery functions that have the same name and
signature (arity) in the same file, but the first is declared "external"
and the second one isn't, Zorba allows the second declaration. It should
be reported as an error.

** Affects: zorba
     Importance: Medium
         Status: New

** Changed in: zorba
   Importance: Undecided => Medium

** Description changed:

- If you declare two functions that have the same name and signature
- (arity) in the same file, but the first is declared "external" and the
- second one isn't, Zorba allows the second declaration. It should be
- reported as an error.
+ If you declare two XQuery functions that have the same name and
+ signature (arity) in the same file, but the first is declared "external"
+ and the second one isn't, Zorba allows the second declaration. It should
+ be reported as an error.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/862971

Title:
  No error upon (almost) duplicate function declarations

Status in Zorba - The XQuery Processor:
  New

Bug description:
  If you declare two XQuery functions that have the same name and
  signature (arity) in the same file, but the first is declared
  "external" and the second one isn't, Zorba allows the second
  declaration. It should be reported as an error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/862971/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to