[Issue 15564] New: Bogus non local error messages
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Jan 13 15:22:49 PST 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15564
          Issue ID: 15564
           Summary: Bogus non local error messages
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: deadalnix at gmail.com
src/main.d(22): Error: template instance query!(function Inv(h)
{
ubyte[32] stop;
h.send(GetBlocks(60002, [], stop));
return h.receive!Inv();
}
, ) cannot use local '__funcliteral1' as parameter to non-global template
query(alias f, T...)(T args)
That's a function.
--
    
    
More information about the Digitalmars-d-bugs
mailing list