Public bug reported:

Disabling two functions (using StaticContext::disableFunction) with the
same name but different arities is currently not possible. Only the
first version of the function is actually disabled.

The problem seems to be in static_context::unbind_fn where only the
FunctionInfo for the first function is inserted into the vector.

** Affects: zorba
     Importance: Undecided
     Assignee: Markos Zaharioudakis (markos-za)
         Status: New

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

Title:
  cannot disable two functions with the same name

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Disabling two functions (using StaticContext::disableFunction) with
  the same name but different arities is currently not possible. Only
  the first version of the function is actually disabled.

  The problem seems to be in static_context::unbind_fn where only the
  FunctionInfo for the first function is inserted into the vector.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1006167/+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