[Issue 20471] DMD Crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 31 04:47:50 UTC 2019


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

--- Comment #1 from apham <apz28 at hotmail.com> ---
To make it compiles without issue -> Remove the "package.d" from compiling
source


Since the modules have object defined such class "XmlAttribute(S = string) :
XmlNode!S". The package.d is just an import of all modules with some alias as
below. Still not able to dustmite the problem

public import pham.xml_exception;
public import pham.xml_util;
public import pham.xml_buffer;
public import pham.xml_string;
public import pham.xml_entity_table;
public import pham.xml_new;
public import pham.xml_parser;
public import pham.xml_reader;
public import pham.xml_writer;
public import pham.xml_xpath;


/** For utf8 encoded string
*/
alias XmlAttributeA = XmlAttribute!string;
alias XmlCDataA = XmlCData!string;
alias XmlCommentA = XmlComment!string;
...

/** For utf16 encoded string
*/
alias XmlAttributeW = XmlAttribute!wstring;
alias XmlCDataW = XmlCData!wstring;
alias XmlCommentW = XmlComment!wstring;
...

--


More information about the Digitalmars-d-bugs mailing list