www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11375] New: Semantic 'no throw' error with -profile switch


           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 puremagic.com
        ReportedBy: paolo.invernizzi gmail.com

--- Comment #0 from Paolo Invernizzi <paolo.invernizzi 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: -------
Oct 29 2013