On 2012-05-05 00:39, H. S. Teoh wrote:
It's often impossible to debug something if you don't get to see what the compiler sees. I suppose you could argue that leaving out function bodies and stuff amounts to the same thing, but at least the language's interface for a function is the function's signature. When you have a .di file, you're guaranteed that all public declarations are there, and you can see exactly what they are. Of course, IF ddoc can be guaranteed to produce exactly what's in a .di file, then I concede that it is sufficient this purpose.
If the compiler can extract the .di files from an object file so can other tools. I don't see the problem.
-- /Jacob Carlborg