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


luka8088 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #4 from luka8088 <[email protected]> 2013-04-18 12:39:24 PDT ---
Test case (from #9949):

// Error: function literal __lambda3 (S!(s) a) is not
// callable using argument types (S!(s))

module program;

struct S (alias T) {
  typeof(T) value;
}

void f (alias l = x => 1) (string s) {
  l(S!(s).init);
}

void main () {
  auto s = "some-string";
  f!((S!s a) { return 1; })(s);
}

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

Reply via email to