February 18, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12195

           Summary: Cannot directly instantiate a template produced by
                    aponymous template instantiation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: samukha@voliacable.com


--- Comment #0 from Max Samukha <samukha@voliacable.com> 2014-02-18 13:26:11 PST ---
template foo()
{
  template foo()
  {
  }
}

alias f = foo!()!();
----
bug.d(10): Error: semicolon expected to close alias declaration


Fixing this may alleviate the pain from automatic tuple concatenation.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 19, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12195


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2014-02-18 21:47:07 PST ---
(In reply to comment #0)
> alias f = foo!()!();

This is not allowed in D grammar.

*** This issue has been marked as a duplicate of issue 1566 ***

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