Local imports hide local symbols

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 23 12:11:12 PDT 2014


On Tue, 23 Sep 2014 11:50:22 -0700
"H. S. Teoh via Digitalmars-d" <digitalmars-d at puremagic.com> wrote:

> (3) will likely cause backlash because it will break a LOT
> of code that currently compiles and likely to have no actual
> problems.
we always can make a deprecation warning first.

(dreaming) i want wildcard/regexp imports! both for module names and
for identifiers. something like `import std.*;` and
`import mymodule : pfx*;` at least. maybe i'll do another
universally-hated-patch(tm) for this. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140923/e14624cb/attachment.sig>


More information about the Digitalmars-d mailing list