[#7171] Better error message when encountering an unknown function

This commit is contained in:
lukaseder 2018-03-13 12:38:18 +01:00
parent ec129e1ec7
commit 218e4a8bf8

View File

@ -3753,6 +3753,9 @@ final class ParserImpl implements Parser {
;
if (parseIf(ctx, '('))
throw ctx.exception("Unknown function");
while (parseIf(ctx, "::"))
r = cast(toField(ctx, r), parseDataType(ctx));