www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual D does not list __gshared members

reply Bart <Bart gmail.com> writes:
Seems so. Not sure why. Maybe because it is a static field? But 
I'd expect static field to be shown. shared works.
Jun 21 2019
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 21/06/2019 14:33, Bart wrote:
 Seems so. Not sure why. Maybe because it is a static field? But I'd
 expect static field to be shown. shared works.
I guess you mean __gshared members of a class/struct. It seems that dmd doesn't emit these as static members, while it does for shared and tl members. LDC emits all three, but removes the qualification from the global, so evaluation fails for the qualified name used in the children list.
Jun 21 2019
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 22/06/2019 08:57, Rainer Schuetze wrote:
 
 
 On 21/06/2019 14:33, Bart wrote:
 Seems so. Not sure why. Maybe because it is a static field? But I'd
 expect static field to be shown. shared works.
I guess you mean __gshared members of a class/struct. It seems that dmd doesn't emit these as static members, while it does for shared and tl members.
I filed https://issues.dlang.org/show_bug.cgi?id=19992
Jun 22 2019