setting the static type of the context item is ignored
Bug #947627 reported by
Till Westmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Undecided
|
Matthias Brantner |
Bug Description
In test2 in test/unit/
Currently the setting of the type via the C++ API is silently ignored. It seems that it should be reported as a error (similarly to the error that is reported if 2 declarations of the context item are given:
http://
http://
Related branches
lp:~zorba-coders/zorba/947627
- Markos Zaharioudakis: Approve
- Till Westmann: Approve
-
Diff: 312 lines (+89/-21)14 files modifiedChangeLog (+2/-0)
include/zorba/pregenerated/diagnostic_list.h (+2/-0)
modules/w3c/pregenerated/xqt-errors.xq (+8/-0)
src/api/staticcontextimpl.cpp (+2/-2)
src/compiler/translator/translator.cpp (+1/-1)
src/context/root_static_context.cpp (+1/-2)
src/context/static_context.cpp (+11/-6)
src/context/static_context.h (+1/-1)
src/diagnostics/diagnostic_en.xml (+7/-0)
src/diagnostics/pregenerated/diagnostic_list.cpp (+3/-0)
src/diagnostics/pregenerated/dict_en.cpp (+1/-0)
test/rbkt/Queries/zorba/misc/context-item-decl01.spec (+1/-0)
test/rbkt/Queries/zorba/misc/context-item-decl01.xq (+5/-0)
test/unit/context_item.cpp (+44/-9)
description: | updated |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.