[Issue 17546] Cannot call .stringof on a function symbol if it does not have a no-args overload
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Jun 26 08:51:09 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=17546
Steven Schveighoffer <schveiguy at yahoo.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|                            |schveiguy at yahoo.com
--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Correction, test has to take a parameter:
int test(int)
{
   return 0;
}
Error message:
teststringof.d(8): Error: function teststringof.test (int _param_0) is not
callable using argument types ()
teststringof.d(8):        while evaluating pragma(msg, (__error).stringof)
--
    
    
More information about the Digitalmars-d-bugs
mailing list