D-Programming-Language/dmd — pull request #1961 by yebblies (2013-05-03 22:12:47+00:00)
Title: Fix Issue 10022 - Importing packages

When attempting to import a package, rewrite to importing a module called 'package' instead.
When a file search detects a package, rewrite the import to directly use the 'package' module.
Allow declaring a module named 'package'.

http://d.puremagic.com/issues/show_bug.cgi?id=10022