Thread overview
[Issue 6055] New: multiple problems with static dtor and ctors in spec
Jan 24, 2012
Walter Bright
May 25, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6055

           Summary: multiple problems with static dtor and ctors in spec
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody@puremagic.com
        ReportedBy: schveiguy@yahoo.com


--- Comment #0 from Steven Schveighoffer <schveiguy@yahoo.com> 2011-05-25 09:02:53 PDT ---
First, in the module.html file, the (shared) static ctor/dtor links all go to
the class.html file.

Second, in the class.html static ctor/dtor description , it specifies that the static ctor/dtor runs on program startup and termination, when actually it runs on thread startup and termination.  It also does not clearly state how shared static ctor/dtors are run once at program startup/termination.

Third, the description of static ctor/dtor in module.html does not have any examples!

I think most of the description for static ctor/dtor functions should be moved to the module file, and let the class-specific version reference that, and describe how class-specific static ctor/dtors are different.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 24, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6055



--- Comment #1 from github-bugzilla@puremagic.com 2012-01-24 01:18:35 PST ---
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/499eafac288d17784dfa0b7f1823662767d852d2 Issue 6055 - multiple problems with static dtor and ctors in spec

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 24, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6055


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-01-24 01:19:56 PST ---
Added a fix for the class.html error. The reorg is an enhancement.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------