Summary: ICE(template.c) instantiating template with tuple
           Product: D
           Version: 2.030
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code, patch
          Severity: normal
          Priority: P2
         Component: DMD

Created an attachment (id=376)
 --> (
Fix the problem (dmd 2.030)

TemplateInstance::semanticTiargs() does not expand tuples which are passed as
expressions (e.g. TypeExp). As a result, this valid code causes an ICE:
import std.typetuple;
template List(lst...) { alias lst list; }
alias TypeTuple!(List!(void)) A;
alias TypeTuple!(A[0].list) B;
ta = 39, (int)
assert template.c(4088) global.errors

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to