Summary: 2.058 regression: fails to instantiate a constrained
                    function template with a nested function
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Nils <> 2012-02-01 03:18:11 PST ---
void t(alias a)() if(is(typeof(a()))) {}
void failure() {
    void f() {}
    alias t!f x; // "does not match template declaration"

introduced by commit 47a6eab28b169849e835ea1299a811ec946f1a89 (Add escape check
to nested function symbol)

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

Reply via email to