rdmd & exception def & multiple files
Charles Hixson
charleshixsn at earthlink.net
Fri Aug 31 10:06:04 PDT 2012
On 08/30/2012 10:46 PM, cal wrote:
> On Friday, 31 August 2012 at 04:00:34 UTC, Charles Hixson wrote:
>> Perhaps I don't know enough to file a decent bug report...at least
>> when I can't reduce the test case that shows it significantly.
>
> Dustmite refers to this tool: https://github.com/CyberShadow/DustMite
>
> Basically it tries to compile your program, and while compilation
> continues to fail, it repeatedly tries to strip away parts of the
> program until your are left with the minimal amount of code required for
> compilation to fail. It is rather neat.
>
> You could throw your code up on http://dpaste.dzfl.pl/new or something
> and someone could take a look, it is just hard to speculate without
> seeing any code...
Thank you for the pointer to DustMite. It looks like it might be quite
useful in other cases. But...
So I tried to use DustMite. This just got weirder. Apparently if the
name of the containing folder isn't Parser (I was working with a copy),
then the error doesn't occur. If I ran DustMite on the original, the
program got reduced down to "void main () { }" (with some extra whitespace).
N.B.: dmd doesn't have a problem with the code, only rdmd.
More information about the Digitalmars-d-learn
mailing list