Related articles |
---|
Spell checking identifiers johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-24) |
Re: Spell checking identifiers johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-24) |
Re: Spell checking identifiers gah4@u.washington.edu (2020-06-23) |
Re: Spell checking identifiers derek@_NOSPAM_knosof.co.uk.invalid (Derek M. Jones) (2020-06-24) |
Re: Spell checking identifiers 937-053-0959@kylheku.com (Kaz Kylheku) (2020-06-24) |
Re: Spell checking identifiers tkoenig@netcologne.de (Thomas Koenig) (2020-06-24) |
Re: Spell checking identifiers gautier_niouzes@hotmail.com (2020-06-24) |
Re: Spell checking identifiers gah4@u.washington.edu (2020-06-24) |
Re: Spell checking identifiers johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-25) |
Re: Spell checking identifiers johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-25) |
Re: Spell checking identifiers acolvin@efunct.com (mac) (2020-07-09) |
[2 later articles] |
From: | Kaz Kylheku <937-053-0959@kylheku.com> |
Newsgroups: | comp.compilers |
Date: | Wed, 24 Jun 2020 18:12:35 +0000 (UTC) |
Organization: | Aioe.org NNTP Server |
References: | 20-06-010 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="40754"; mail-complaints-to="abuse@iecc.com" |
Keywords: | lex, errors |
Posted-Date: | 24 Jun 2020 14:45:52 EDT |
On 2020-06-23, Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote:
> Dear c.compilers,
>
> While experimenting with Rust, I came across this suggestion.
>
> --> foo.rs:5:9
> |
> 5 | return j; // the variable, not the type.
> | ^ help: a local variable with a similar name exists: `i`
>
> Here it is suggesting i where I typed j. This is the same problem as
> spell checking identifiers with fuzzy matching, so apologies for a po-
> tentially misleading subject.
I don't find these kinds of childish diagnostic messages useful at all.
They have started to appear in GCC also.
The good old "undeclared identifier `j`" requires no update, thanks.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.