https://issues.dlang.org/show_bug.cgi?id=23680
FeepingCreature <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from FeepingCreature <[email protected]> --- Just in case you're not aware, you can do this: ``` module abc; import std.stdio; void print() { writeln("Hello"); } --- module test; static import abc; void main() { abc.print; } ``` or ``` module test; import abc = abc; void main() { abc.print; } ``` I think `static class` should error for toplevel declarations. It has an established meaning for nested classes: it removes the context pointer. --
