March 26, 2014 [Issue 12475] New: extend typeof() to return '__gshared(type)' | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=12475 Summary: extend typeof() to return '__gshared(type)' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: ketmar@ketmar.no-ip.org --- Comment #0 from Ketmar Dark <ketmar@ketmar.no-ip.org> 2014-03-26 10:41:14 PDT --- i think that there should be either explicit trait to check if something was declared as '__gshared', or typeof() should return '__gshared(type)' as it does now for shared types. 'shared' and '__gshared' are mutually exclusive, so there should be no big harm to just extend typeof(). sample: shared int i0; typeof(i0) returns 'shared(int)' __gshared int i1; typeof(i1) returns 'int' propesed fix: typeof(i1) should return '__gshared(int)' -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 26, 2014 [Issue 12475] extend typeof() to return '__gshared(type)' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ketmar Dark | https://d.puremagic.com/issues/show_bug.cgi?id=12475 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Ketmar Dark <ketmar@ketmar.no-ip.org> 2014-03-26 10:59:15 PDT --- *** This issue has been marked as a duplicate of issue 12474 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation