D-Programming-Language/dmd — pull request #1173 by llucax (2012-10-10 15:38:10+00:00)
Title: Fix default protection in dependency file

Import without explicit protection attributes are printed as public
imports in the dependency file (-deps), which could lead to incorrect
dependencies calculations by programs using this option.

This patch makes it print default protection as private (or whatever the
compiler think it should be). Test case added.