[Issue 6981] incorrect error message when calling method without parentheses

2012-12-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6981


Andrej Mitrovic  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||andrej.mitrov...@gmail.com
 Resolution||DUPLICATE


--- Comment #2 from Andrej Mitrovic  2012-12-27 
17:50:19 PST ---
Now it's:

Error: not a property super.toHash

After adding parens:

Error: function object.Object.toHash () is not callable using argument types ()
const

After Issue 1730 is fixed the error message will improve.

*** This issue has been marked as a duplicate of issue 1730 ***

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


[Issue 6981] incorrect error message when calling method without parentheses

2011-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6981



--- Comment #1 from Trass3r  2011-11-20 13:57:30 PST ---
Actually I think it shouldn't even get to that point.
Shouldn't it complain about toHash not overriding a base method?

The above error message isn't helpful at all, especially if the const isn't
applied to the function directly but through a 'const: /*many functions*/'.

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