[Issue 9241] New: 2.061: Property call error message disappeared
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 29 10:21:36 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9241
Summary: 2.061: Property call error message disappeared
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-12-29 10:21:34 PST ---
As a result of fixing Issue 8894 I've introduced a new problem:
import std.string;
void main()
{
string s;
s = s.splitLines;
}
2.060:
test.d(8): Error: not a property s.splitLines
2.061:
Error: no property 'splitLines' for type 'string'
The error message before is more informative because it shows you that the UFCS
function must be called with parentheses.
Issue 8894 was fixed with a band-aid by using gagging (on top of existing
gagging), but we're ultimately going to have to rewrite the lookup system in D
to not use gagging at all.
--
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