dlang-community / harbored-mod

A documentation generator for D with support for both DDoc and Markdown.
Boost Software License 1.0
18 stars 14 forks source link

throws assertion failures when using with mir #62

Closed wilzbach closed 8 years ago

wilzbach commented 8 years ago

When using with mir, I get the following error. I guess this is a bug with libdparse?

./harbored-mod/bin/hmod source
Writing documentation to ./doc
Collecting data about modules and symbols
Generating documentation for source/mir/las/sum.d
Time spent: 0.133s
Peak memory usage (kiB): 24164
core.exception.AssertError@../../../../.dub/packages/libdparse-master/src/dparse/lexer.d(1891): Assertion failure
----------------
??:? _d_assert [0x885fdf]
??:? void dparse.lexer.__assert(int) [0x82212b]
../../../../.dub/packages/libdparse-master/src/dparse/lexer.d:1891 pure @safe void dparse.lexer.unDecorateComment!(std.array.Appender!(immutable(char)[]).Appender).unDecorateComment(immutable(char)[], ref std.array.Appender!(immutable(char)[]).Appender) [0x766a7d]
src/writer.d:535 _D6writer52__T14HTMLWriterBaseS296writer20symbolLinkAggregatedZ14HTMLWriterBase62__T20readAndWriteComment_TS3std5stdio4File17LockingTextWriterZ20readAndWriteComment_MFKS3std5stdio4File17LockingTextWriterAyaAS4ddoc8comments7CommentxC6dparse3ast12FunctionBodyAS3std8typecons18__T5TupleTAyaTAyaZ5TupleZ9__lambda8MFZv [0x7df903]
src/writer.d:361 void writer.__T14HTMLWriterBaseS296writer20symbolLinkAggregatedZ.HTMLWriterBase.writeSection!(std.stdio.File.LockingTextWriter).writeSection(ref std.stdio.File.LockingTextWriter, void delegate(), immutable(char)[]) [0x7e0419]
9il commented 8 years ago

@kiith-sa has not used github for a long time. I am going to copy this repo to DlangScience

kiith-sa commented 8 years ago

Should be resolved by #64 - please reopen if this persists.