wrong const-folding
Bug #1067706 reported by
Markos Zaharioudakis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Markos Zaharioudakis |
Bug Description
The following query raises an error due to erroneous const-folding:
declare variable $g := 1;
declare function local:boo()
{
local:foo(0)
};
declare function local:foo($x) as xs:integer
{
if ($x > 0)
then
local:boo()
else
$g
};
local:boo()
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
milestone: | none → 2.8 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.