[Issue 9514] New: "template instance … is not an alias"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 14 19:41:03 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9514

           Summary: "template instance … is not an alias"
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at klickverbot.at


--- Comment #0 from David Nadlinger <code at klickverbot.at> 2013-02-14 19:41:01 PST ---
Unfortunately I don't have a reduced test case yet, but DMD from the latest
staging branch (6207580a) contains at least one regression that affects Thrift.

To reproduce, run:
git clone git://git.apache.org/thrift.git
cd thrift/lib/d/src
dmd -c -unittest thrift/internal/codegen.d

It will fail with

---
thrift/internal/codegen.d(125): Error: template instance find!("a.name == b")
find is not a template declaration, it is a alias
---

and a slew of follow-up error messages.

Note the "import std.algorithm : find" a few lines before; the issue might be
related to selective import handling.

-- 
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