digitalmars.D.bugs - [Issue 5588] New: Wrong line number
- d-bugmail puremagic.com (27/27) Feb 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5588
- d-bugmail puremagic.com (10/10) Feb 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5588
- d-bugmail puremagic.com (11/11) Feb 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5588
http://d.puremagic.com/issues/show_bug.cgi?id=5588
Summary: Wrong line number
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: samukha voliacable.com
PST ---
enum x = 1; //line 1
void* foo()
{
return x; //line 2
}
void main()
{
}
The error (Error: cannot implicitly convert expression (1) of type int to
void*) is reported to be on line 1 instead of line 2.
Pretty confusing.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 15 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5588
bearophile_hugs eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs eml.cc
See bug 4076
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 15 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5588
Max Samukha <samukha voliacable.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
PST ---
*** This issue has been marked as a duplicate of issue 4076 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 15 2011









d-bugmail puremagic.com 