home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,560 of 2,753   
   Kaz Kylheku to Johann 'Myrkraverk' Oskarsson   
   Re: Spell checking identifiers   
   24 Jun 20 18:12:35   
   
   From: 937-053-0959@kylheku.com   
      
   On 2020-06-23, Johann 'Myrkraverk' Oskarsson  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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca