[Issue 5704] Silent ddoc failure on plot2kill

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 7 05:31:11 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5704



--- Comment #3 from David Simcha <dsimcha at yahoo.com> 2011-03-07 05:28:09 PST ---
Ok, I got kind of lucky and found an easy way to get rid of all the
dependencies.  This program produces absolutely no output either of html files
or to stdout when compiled with -D -c -v.  This is a very "unstable" bug, i.e.
when I try to take pretty much anything out of this test case, it's no longer
reproducible.

///
class GuiAgnosticBase {
protected:
    double _width = 0;
    double _height = 0;

    string _title;
    string _xLabel;
    string _yLabel;
public:

    abstract int defaultWindowWidth();
    abstract int defaultWindowHeight();
    abstract int minWindowWidth();
    abstract int minWindowHeight();

    final double width()  {
        return _width;
    }

    final double height()  {
        return _height;
    }

    final string title()() {
        return _title;
    }

    final This title(this This)(string newTitle) {
        _title = newTitle;
        return cast(This) this;
    }

    final string xLabel()() {
        return _xLabel;
    }

    final This xLabel(this This)(string newLabel) {
        _xLabel = newLabel;
        return cast(This) this;
    }

    final string yLabel()() {
        return _yLabel;
    }

    ///
    final This yLabel(this This)(string newLabel) {
        _yLabel = newLabel;
        return cast(This) this;
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list