[Issue 16583] Static module ctor semantic proposition
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Nov 1 06:52:51 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16583
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
module bad;
int x;
static this()
{
x = 42;
}
struct Type
{
int foo() { return x;}
}
--
More information about the Digitalmars-d-bugs
mailing list