[Issue 11375] New: Semantic 'no throw' error with -profile switch
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 29 01:32:14 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11375
Summary: Semantic 'no throw' error with -profile switch
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: paolo.invernizzi at gmail.com
--- Comment #0 from Paolo Invernizzi <paolo.invernizzi at gmail.com> 2013-10-29 01:32:13 PDT ---
This is compiled correctly without the '-profile' switch, it will fails
otherwise (DMD 2.063.2, 2.064.beta.4):
module b;
class B {
this() {}
}
module a;
import b;
class C : B {}
class D(X) : X {}
alias D!(C) Z;
dmd -profile a.d
Error: 'a.C.this' is not no throw
--
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