[Issue 3392] a cast of this to void in tango.core.Thread is not allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 13 05:35:46 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3392


Matti Niemenmaa <matti.niemenmaa+dbugzilla at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matti.niemenmaa+dbugzilla at i
                   |                            |ki.fi
           Platform|Other                       |All
         OS/Version|Mac OS X                    |All


--- Comment #1 from Matti Niemenmaa <matti.niemenmaa+dbugzilla at iki.fi> 2009-10-13 05:35:44 PDT ---
Reduced testcase:

class Foo {
    Foo next;
    void start()
    in {
        assert (!next);
    } body { 
        void* p = cast(void*)this;
    }
}

-- 
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