www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18137] New: Member function attributes are not written to the

https://issues.dlang.org/show_bug.cgi?id=18137

          Issue ID: 18137
           Summary: Member function attributes are not written to the JSON
                    file
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: petar.p.kirov gmail.com

Created attachment 1672
  --> https://issues.dlang.org/attachment.cgi?id=1672&action=edit
Diff between the json generated by DMD v2.072.2 and DMD v2.077.1

When migrating dlang.org's dpl-docs from DMD v2.072.2 to DMD v2.077.1 in
https://github.com/dlang/dlang.org/pull/1926 I noticed that sometimes some
function attributes are not written to the JSON doc metadata file. I have
attached the diff between the two JSON files as seen on CyberShadow's
DAutoTest. For the most part, the upgrade was a clear improvement (e.g.
core.stdc.string.strchr), but I noticed that some member functions in druntime
were missing their nothrow attribute, for example core.memory.GC.malloc,
core.thread.Thread.start, core.thread.Fiber.this, etc.).

--
Dec 28 2017