http://d.puremagic.com/issues/show_bug.cgi?id=9997
Summary: Missed misspell suggestions for UFCS
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-04-26 12:43:49 PDT ---
import std.string;
void main() {
auto s =
"red
blue";
auto r1 = s.splitlines;
auto r2 = splitlines(s);
}
dmd 2.063alpha gives:
temp.d(6): Error: no property 'splitlines' for type 'string'
temp.d(7): Error: undefined identifier splitlines, did you mean template
splitLines(S)(S s, KeepTerminator keepTerm = KeepTerminator.no) if
(isSomeString!(S))?
Is it possible for the compiler to show the "did you mean" for "s.splitlines"?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------