http://d.puremagic.com/issues/show_bug.cgi?id=11191
Summary: Runtime.args may be called before set
Product: D
Version: D2
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Martin Nowak <[email protected]> 2013-10-07 12:31:41 PDT ---
Because initialization moved to C's .ctors/.dtors the runtime calls module
ctors before main. The global _d_args variable is only initialized in main so
calling Runtime.args earlier will return an empty array.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------