Due to hidden bug found in internal SQL parser there is hotfix available. Bug reveals itself during executing CREATE FUNCTION statements using SQL Executor in pre-validation mode "Execute SQL (F9)". It is still possible to execute such statements using "Execute in Single Transaction (Alt+F9)" functionality, but update is strongly recommended.