Closed chrisreu closed 10 years ago
Seems to be a problem with stacking ContextQueries. The rendered Query need to have brackets
Original query:
QSeq And [QContext ["c3","c4"] (QContext ["c5","c6"] (QWord QCase "w4"))]
rendered with printQuery: "c3,c4:c5,c6:!w4"
And parsed again with parseQuery
parsed again: Right (QContext ["c3","c4"] (QWord QNoCase "c5,c6:!w4"))
fixed with da2b2ae6cac186f2e703d7ba9bb7a87ea7ba2266
It does fail in certain cases, which not always occure when running the tests.
Example: