Closed devops-unitybars closed 1 month ago
Hi,
Thank you for your report. The fix will be included in the upcoming version which I plan to release in the coming days. Additionally, I've addressed the same issue for all other functions that accept the DEFAULT xxx ON CONVERSION ERROR
clause.
When parsing PL/SQL code that contains the 'default ... on conversion error' construction, which appeared in Oracle version 12.2, the code is incorrectly tokenized (using ZPA Toolkit), causing the rules to also work incorrectly. Example of such code:
Equivalent code for creating a package without using the 'default ... on conversion error' construction, where the parsing works correctly:
Also, if you run any test in the zpa-main project for code with the 'default ... on conversion error' construction, an exception occurs: