[Issue 5839] New: No error line number with "did you mean" of private symbol
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 12 18:24:52 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5839
Summary: No error line number with "did you mean" of private
symbol
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: diagnostic
Severity: critical
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2011-04-12 18:21:06 PDT ---
D2 program:
import std.random;
void main() {
int[int] aa;
aa[seep] ~= 0;
}
DMD 2.052 shows an error without line number:
test.d: Error: module test std.random.seed is private
test.d(4): Error: undefined identifier seep, did you mean variable seed?
Marked as critical because Don asked me to do this in a comment of bug 5745
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list