October 17, 2012 [Issue 8834] New: UFCS doesn't work with local aliases to functions | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8834 Summary: UFCS doesn't work with local aliases to functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: stasoid@yahoo.com --- Comment #0 from stas <stasoid@yahoo.com> 2012-10-16 21:40:33 PDT --- Applies to: DMD 2.060 This should work: import std.stdio, std.string; void main() { alias toStringz z; sscanf("".z,"".z); // Error: undefined identifier 'z' // OK if z is not local } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 02, 2013 [Issue 8834] UFCS doesn't work with local aliases to functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to stas | http://d.puremagic.com/issues/show_bug.cgi?id=8834 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies@gmail.com Resolution| |DUPLICATE --- Comment #1 from yebblies <yebblies@gmail.com> 2013-01-02 19:35:09 EST --- *** 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: ------- |
Copyright © 1999-2021 by the D Language Foundation