April 26, 2013 [Issue 9997] New: Missed misspell suggestions for UFCS | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 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: ------- |
April 26, 2013 [Issue 9997] Missed misspell suggestions for UFCS | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9997 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com Platform|x86 |All OS/Version|Windows |All Severity|normal |enhancement -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation