Reduced:

    module b;
    class B {
        this() {}
    }

    module a;
    import b;

    class C : B {}
    class D(X) : X {}
    alias D!(C) HtmlPanel;

    dmd -profile a.d
    Error: 'a.C.this' is not no throw

Everything is ok without the profile... may I post a bug report for this?

/Paolo


On Monday, 28 October 2013 at 15:20:59 UTC, Paolo Invernizzi wrote:
Hi all,

Compiling my application with 2.064.beta.4 and 2.063.2 with the "-profile" switch, I have an error like:

  Error: 'foo.ui.Widgets.this' is not no throw

I've read something similar involving contracts, but this seems something different. Of course everything compiles and run fine without the "-profile" switch.

Any clue, or may I try to reduce (it is a BIG codebase)?

Thanks,
Paolo

Reply via email to