digitalmars.D.bugs - [Issue 7329] New: local imports are underdocumented
- d-bugmail puremagic.com (27/27) Jan 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7329
- d-bugmail puremagic.com (11/11) Jun 16 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7329
http://d.puremagic.com/issues/show_bug.cgi?id=7329 Summary: local imports are underdocumented Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: nobody puremagic.com ReportedBy: timon.gehr gmx.ch Local imports appear in the grammar, but their semantics is unspecified. For example, DMD lets local imports hide local variables: void main(){ string[string] map; pragma(msg, typeof(map)); // "string[string]" { import std.algorithm; pragma(msg, typeof(map)); // "void" } } But the documentation does not say if this is valid or if it is a bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7329 Martin Krejcirik <mk krej.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.alexander.au gmail.co | |m *** Issue 10378 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 16 2013