First D project, problem with error messages
Daniel
d at gmail.com
Thu Feb 9 20:57:47 UTC 2023
On Thursday, 9 February 2023 at 19:42:23 UTC, Steven
Schveighoffer wrote:
> On 2/9/23 2:37 PM, Daniel wrote:
>
>> class Lexer() {
>
> You have made Lexer take compile-time parameters by adding the
> parentheses. And there are no parameters, so the use of this is
> quite narrow.
> ======
> -Steve
Fair enough, my intention was not to declare a template but a
simple class, and I'm used to the Java syntax, so those innocent
parentheses went unperceived.
Thank you !!!
More information about the Digitalmars-d
mailing list