[Issue 12035] New: Regression 2.065: Mixin string inside mixin template inside template can no longer acces template argument

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 29 12:15:03 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12035

           Summary: Regression 2.065: Mixin string inside mixin template
                    inside template can no longer acces template argument
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <code at benjamin-thaut.de> 2014-01-29 12:14:59 PST ---
Created an attachment (id=1317)
repro case

I found this bug after bug 12023 was fixed. I used the latest version of the
dmd master branch for this. The attached repro case is a heavily reduced
version of my code. 

The issue is that I can no longer reference the template Bar by name because
its template argument Foo is in a different module and seems to be not known
when the mixin inside the "b" module is compiled. This used to work fine with
dmd 2.064 and all versions before that down to at least dmd 2.054.

Just compile all three modules together to see the issue.

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


More information about the Digitalmars-d-bugs mailing list