https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122485
Bug ID: 122485
Summary: add spell checking to module names
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: gaius at gcc dot gnu.org
Target Milestone: ---
gm2 could (spell) check module names during import and provide hints. For
example in this example the correct name has already been seen:
$ cat badimport.mod
MODULE badimport ;
IMPORT ASCII ;
FROM StrIO IMPORT WriteString ;
FROM ASCIi IMPORT nul ;
BEGIN
END badimport.
$ gm2 badimport.mod
badimport.mod:9:6: error: the file containing the definition module ‘ASCIi’
cannot be found
9 | FROM ASCIi IMPORT nul ;
| ^~~~~
and a hint could be provided.