On 6/21/2011 7:34 PM, Jonathan M Davis wrote: > Isn't it supposed to be legal to put imports in functions now? A recent commit > to std.file does that, and it's failing to compile because of the import > within a function. > Yes, it's supposed to be legal now. Do you have a small test case?