[Issue 4270] Missing line number in 'can only catch class objects' error message

2010-06-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4270


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2010-06-09 
19:09:30 PDT ---
http://www.dsource.org/projects/dmd/changeset/532

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4270] Missing line number in 'can only catch class objects' error message

2010-06-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4270



--- Comment #1 from Don clugd...@yahoo.com.au 2010-06-04 13:15:49 PDT ---
Bug 3712 is a combination of this bug, with a D1-only error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4270] Missing line number in 'can only catch class objects' error message

2010-06-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4270


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #2 from bearophile_h...@eml.cc 2010-06-04 13:20:59 PDT ---
An idea: comment out the error() that doesn't accept a line number, then fix
all calling points that use it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4270] Missing line number in 'can only catch class objects' error message

2010-06-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4270



--- Comment #3 from Don clugd...@yahoo.com.au 2010-06-04 17:36:00 PDT ---
(In reply to comment #2)
 An idea: comment out the error() that doesn't accept a line number, then fix
 all calling points that use it.

That's exactly how I found this one! There are four uses of the wrong function.
It's discussed in dmd-internals.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---