[#7171] Better error message when encountering an unknown function
This commit is contained in:
parent
ec129e1ec7
commit
218e4a8bf8
@ -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));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user