Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1

Paul Backus snarwin at gmail.com
Tue Jan 12 20:04:00 UTC 2021


On Tuesday, 12 January 2021 at 19:49:10 UTC, jmh530 wrote:
> I'd rather put the import at the top of the file, or in a 
> version(unittest) block than that. The problem with those 
> approaches is that if you have an example unittest, then when a 
> user tries to run it then they have to put the import in 
> themselves.

Seems like the obvious solution is to put the import inside the 
unittest.


More information about the Digitalmars-d-announce mailing list