[Issue 17263] Issue diagnostic if mandatory template parameter is missing
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Mar 17 11:06:20 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=17263
Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m
--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
Yeah, this is one of those that's usually surprisingly hard to figure out. I
usually end up doing a lot of examination of template constraints before I
figure out that I simply forgot the !. It's a lot more obvious in this example,
because it's short, but one you start chaining templates or having complicated
predicates, it quickly becomes non-obvious that the ! is missing.
--
    
    
More information about the Digitalmars-d-bugs
mailing list