D-Programming-Language/dmd — pull request #1254 by 9rnsr (2012-11-03 07:54:17+00:00)
Title: Issue 8937 - import declaration statement without scope after `if` imports to a parent scope

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

This is a parser problem, and not only for `import` statements, and also `mixin` statements, `enum` declarations, and conditional declarations (`static if`, `version` and `debug`)