zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #07472
[Bug 867232] Re: duplicate import of same module
** Changed in: zorba
Importance: High => Medium
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867232
Title:
duplicate import of same module
Status in Zorba - The XQuery Processor:
New
Bug description:
If compiling the attached main module (main.xq), an error is raised because of a duplicate function declaration of utils:bar.
In this example (a imports b, a imports utils, and b imports utils). The problem is that a imports utils without a location hint and b imports utils with a location hint. Hence, the translator doesn't detect that the same entity is imported multiple times.
IMHO, the translator either needs to detect that the same entity is
imported or the error message must indicate why the same function is
declared twice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867232/+subscriptions