https://issues.dlang.org/show_bug.cgi?id=15900
Timothee Cour <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Timothee Cour <[email protected]> --- (In reply to Vladimir Panteleev from comment #0) > ///////////// test.d ///////////// > import std.datetime; > > unittest > { > cast(void)core.time.hnsecs(1); > } > ////////////////////////////////// > > $ dmd -w -unittest -o- test.d > test.d(5): Deprecation: module core.time is not accessible here, perhaps add > 'static import core.time;' > > However, std.datetime publicly imports core.time, so the warning is > spurious. The code compiles fine when NOT using the fully-qualified name. still there in 2.071.1 beta 2 --
