[Issue 11149] Runtime.args no longer available in static constructors.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 8 10:03:21 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11149
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
--- Comment #6 from Martin Nowak <code at dawg.eu> 2013-10-08 10:03:19 PDT ---
This is a regression caused by moving the module initialization into C's
.ctor/.dtor sections.
Not sure how to resolve this right now.
BTW, I don't that adding args/cArgs was a good idea in the first place.
They provide global access to mutable data but the exact semantics remain
unclear, e.g. how is mutating args reflected in main's args and vice versa.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list