gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: cannot declare function


From: Gaius Mulley
Subject: Re: Fwd: cannot declare function
Date: Mon, 14 Oct 2024 03:52:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Benjamin Kowarsch <trijezdci@gmail.com> writes:

> Gaius, the error messages in the presented case are really confusing. The 
> compiler should know that it expects a function call with parentheses and then
> report the missing parentheses accordingly. Instead, it sends the user on a 
> wild goose chase. You may want to improve the error reporting for this.

Hi Benjamin,

yes indeed and agree the error is confusing, it should detect the '(' was
missing when encountering ':'.  I'll investigate and improve the error,

regards,
Gaius





reply via email to

[Prev in Thread] Current Thread [Next in Thread]