digitalmars.D.bugs - [Issue 7344] New: Function-as-array-method doesn't work with local imports
- d-bugmail puremagic.com (34/34) Jan 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7344
- d-bugmail puremagic.com (10/10) Jan 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7344
- d-bugmail puremagic.com (11/11) Jan 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7344
http://d.puremagic.com/issues/show_bug.cgi?id=7344 Summary: Function-as-array-method doesn't work with local imports Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2012-01-21 19:04:59 PST --- This is a spinoff of bug 6272, that was not fully fixed. void main() { import std.algorithm; auto data = new int[10]; sort(data); // OK data.sort(); // line 5, Error } The latest DMD 2.058head gives: test.d(5): Error: undefined identifier module test.sort This version gives the same error: void main() { import std.algorithm: sort; auto data = new int[10]; sort(data); // OK data.sort(); // line 5, Error } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7344 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-01-21 19:30:25 PST --- Dup of Issue 6185? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7344 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from bearophile_hugs eml.cc 2012-01-21 19:41:29 PST --- *** This issue has been marked as a duplicate of issue 6185 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2012