Summary: __gshared on class member variable implies static?
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Brad Roberts <> 2010-12-10 01:23:07 PST 
module buggshared;

class A
    shared static this()
        supported["foo"] = "bar";

    __gshared string[string] supported;

This builds, which means that__gshared in a class scope implies static?  That
doesn't seem like a good idea.  I didn't find where that's documented either.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to