[Issue 9631] Error message not using fully qualified name when appropriate.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 18 12:39:26 PDT 2013


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


luka8088 <luka8088 at owave.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luka8088 at owave.net


--- Comment #4 from luka8088 <luka8088 at owave.net> 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: -------


More information about the Digitalmars-d-bugs mailing list