Don Clugston wrote:
>
> Certainly it should be an error if a function doesn't contain any return
> statements at all!
void main()
{
int function() foo = function int()
{
throw new Error("Function pointer not set");
}
/**
logic that might not set foo;
**/
int i = foo();
}