digitalmars.D.bugs - Compilation error missing file name and line number
- Mike Parker (11/11) Jul 22 2004 Both of the following (when compiled individually, of course) report the...
Both of the following (when compiled individually, of course) report the error 'cannot have parameter of type void', but no file name or line number is reported: typedef void function(void) illegal; typedef void (*illegal)(void); This error only occurs when 'typedef' is used. The following all print the file name and line number as expected: alias void function(void) illegal; alias void (*illegal)(void); void (*illegal)(void); void illegal(void) {}
Jul 22 2004