Plan Serializer test fails due to HOF
Bug #1002313 reported by
William Candillon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Critical
|
Nicolae Brinza |
Bug Description
The following queries:
declare namespace an = "http://
declare namespace o = "http://
declare option o:enable "hof";
declare %private variable $handlers := ();
declare %an:sequential function local:add($handler)
{
$handlers := ($handlers, $handler);
};
declare function local:emit()
{
for $h in $handlers
return $h()
};
declare %an:sequential function local:test()
{
local:
local:emit()
};
declare function local:handle(
{
trace($message, "message")
};
local:test()
Fails with the plan serializer (segfault)
Related branches
lp:~zorba-coders/zorba/hof-merge
- Markos Zaharioudakis: Approve
-
Diff: 1671 lines (+568/-573)9 files modifiedsrc/compiler/expression/expr_clone.cpp (+14/-6)
src/compiler/expression/expr_manager.cpp (+10/-18)
src/compiler/expression/expr_manager.h (+2/-12)
src/compiler/expression/function_item_expr.cpp (+40/-31)
src/compiler/expression/function_item_expr.h (+2/-21)
src/compiler/translator/translator.cpp (+429/-470)
src/runtime/function_item/function_item.cpp (+1/-5)
src/runtime/function_item/function_item.h (+70/-8)
test/fots/CMakeLists.txt (+0/-2)
Changed in zorba: | |
importance: | Undecided → High |
assignee: | Matthias Brantner (matthias-brantner) → Markos Zaharioudakis (markos-za) |
Changed in zorba: | |
milestone: | none → 2.7 |
Changed in zorba: | |
assignee: | Markos Zaharioudakis (markos-za) → Nicolae Brinza (nbrinza) |
summary: |
- Plan Serializer test fails + Plan Serializer test fails due to HOF |
Changed in zorba: | |
milestone: | 2.7 → none |
Changed in zorba: | |
importance: | High → Critical |
milestone: | none → 2.8 |
Changed in zorba: | |
milestone: | 2.8 → 2.9 |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Assign to you for dispatching.