August 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13358

          Issue ID: 13358
           Summary: Comments in core.demangle refer to TypeIdent,
                    TypeClass, etc. as LNames when they are parsed as
                    QualifiedNames
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody@puremagic.com
          Reporter: blah38621@gmail.com

As stated in the subject, core.demangle's internal comments refer to TypeIdent, TypeClass, TypeName, TypeEnum, and TypeTypedef as being LName values, but it parsed them as QualifiedName values. And, as long as someone is messing with the comments in core.demangle, it would probably be a good idea to split up the comment describing the structure of a TypeFunction to have only the part the method it's above actually uses, and to move the rest to the methods that actually parse that piece. This would make it consistent with the rest of the style used in core.demangle.

--