Best error msg ever

Jack Stouffer via Digitalmars-d digitalmars-d at
Fri Feb 10 19:05:43 PST 2017

On Saturday, 11 February 2017 at 01:14:03 UTC, Chris Wright wrote:
> And @safe doesn't stop you from using uninitialized variables.

Yes it does, for pointers anyway

void main() @safe
	int[] a = void;

/d296/f663.d(3): Error: variable f663.main.a void initializers 
for pointers not allowed in safe functions

More information about the Digitalmars-d mailing list