Merge lp:~zorba-coders/zorba/bug-1029836 into lp:zorba
Proposed by
Ghislain Fourny
Status: | Merged |
---|---|
Approved by: | Chris Hillery |
Approved revision: | 10958 |
Merged at revision: | 10961 |
Proposed branch: | lp:~zorba-coders/zorba/bug-1029836 |
Merge into: | lp:zorba |
Diff against target: |
140 lines (+32/-2) 14 files modified
include/zorba/pregenerated/diagnostic_list.h (+2/-0) modules/org/jsoniq/www/pregenerated/errors.xq (+5/-0) src/compiler/translator/translator.cpp (+5/-2) src/diagnostics/diagnostic_en.xml (+6/-0) src/diagnostics/pregenerated/diagnostic_list.cpp (+3/-0) src/diagnostics/pregenerated/dict_en.cpp (+3/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-1.spec (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-1.xq (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-2.spec (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-2.xq (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-3.spec (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-3.xq (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-4.spec (+1/-0) test/rbkt/Queries/zorba/jsoniq/jndy0018-4.xq (+1/-0) |
To merge this branch: | bzr merge lp:~zorba-coders/zorba/bug-1029836 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Hillery | Approve | ||
Matthias Brantner | Approve | ||
Review via email: mp+117250@code.launchpad.net |
Commit message
Corrects bug 1029836.
Description of the change
Corrects bug 1029836.
To post a comment you must log in.
Hi Matthias,
I submitted a new merge proposal following Chris's request.
Regarding your question, I am not certain it is a type error. In the context of dynamic function call, it makes sense that it is a type error (XPTY0004) because it is a mismatch between the type of the function produced by the base expression and the number of provided parameters. However, in the context of object/array selection (with exactly one selector parameter), I am under the impression that this is not a type issue, but a dynamic issue (since we decided object/arrays do not match function types). What do you think?