Bug 8426 – Spell corrector for wrong function names looks in the wrong places

Status
RESOLVED
Resolution
DUPLICATE
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-07-24T06:39:00Z
Last change time
2013-02-09T22:00:16Z
Keywords
diagnostic
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2012-07-24T06:39:42Z
import std.stdio; void main() { open("data"); } DMD 2.060beta gives an useless error message (with no line number), followed by a wrong suggestion: Error: module temp std.stdio.fopen is private temp.d(3): Error: undefined identifier open, did you mean function fopen?
Comment #1 by andrej.mitrovich — 2013-02-09T22:00:16Z
The error message is better now, however the private symbol being recommended is another case of Issue 5389. *** This issue has been marked as a duplicate of issue 5389 ***