digitalmars.D.learn - -profile and nothrow
- Paolo Invernizzi (11/11) Oct 28 2013 Hi all,
- Paolo Invernizzi (17/28) Oct 28 2013 Reduced:
- Dicebot (2/2) Oct 28 2013 Any difference in semantics between -profile and normal flow is a
- Paolo Invernizzi (2/5) Oct 29 2013 Done: http://d.puremagic.com/issues/show_bug.cgi?id=11375
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
Oct 28 2013
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
Oct 28 2013
Any difference in semantics between -profile and normal flow is a bug, so, yes, please report to bugzilla.
Oct 28 2013
On Monday, 28 October 2013 at 18:34:51 UTC, Dicebot wrote:Any difference in semantics between -profile and normal flow is a bug, so, yes, please report to bugzilla.Done: http://d.puremagic.com/issues/show_bug.cgi?id=11375
Oct 29 2013








"Paolo Invernizzi" <paolo.invernizzi gmail.com>