On Monday, 14 May 2018 at 07:02:37 UTC, Dukc wrote: > ------------ > module test; > void main() { foo.i = 2; } > of encapsulation > void foo() { static int i = 1; } > ------------ meant ------------ module test; void main() { foo.i = 2; } void foo() { static int i = 1; } ------------