HOF: reporting wrong error
Bug #932266 reported by
Sorin Marian Nasoi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Critical
|
Nicolae Brinza |
Bug Description
query 'fn-concat-18' from FOTS, meaning:
xquery version '3.0';
declare namespace o = 'http://
declare option o:enable 'hof';
fn:concat(
reports
type error [err:FOTY0013]: "concat": argument to fn:data() is function item
The expected error in the FOTS test is
http://
Assigned to Nicolai because AFAIK he is working on HOF completion: please reassign accordingly.
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: | Medium → 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.
Fixed in the trunk.