| Summary: | [SSE] Incorrect parsing of function declarations | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gabriel Petrovay <gabipetrovay> |
| Component: | WTP Incubator | Assignee: | Lionel Villard <villard> |
| Status: | CLOSED FIXED | QA Contact: | Gabriel Petrovay <gabipetrovay> |
| Severity: | critical | ||
| Priority: | P1 | CC: | villard |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed. The closing ')' was not properly consumed. DO NOT SOLVE THIS BUG BEFORE Bug 322045 such that you can reproduce the problem there Now probably consumming the wrong ')': declare function local:foo ($s as item()) { 1 }; ----------------------------------------- And there might also be a case with ")))" at the end of the function declaration when DocumentTest is used. I can't reproduce it. Might have been fixed while fixing another bug. Makes it to the 0.8M1 release. |
A syntax error is reported if the following function declaration is used in a main module of a library module: declare function local:foo () { 1 };