On Sunday, 29 April 2012 at 15:21:10 UTC, Jacob Carlborg wrote:
No, I think it's way better that the DI generator outputs the actually type instead of just "shared/auto" and the assignment.In this case: shared stdin = &_iob[0]; Should be generated as: shared File stdin;Anything to the right of the assignment operator is just an implementation detail.
I agree, except to get the right behaviour, I think that must be: extern shared File stdin;