Internal error: ../ztc/cgcs.c

Namespace rswhite4 at googlemail.com
Wed Apr 24 13:25:39 PDT 2013


----
import std.stdio;

int[2] getSize() {
	return [42, 23];
}

int width() {
	return getSize()[0];
}

void main()
{
	writeln("Hello world!");
}
----

Compilation output:
Internal error: ../ztc/cgcs.c 343

http://dpaste.1azy.net/a1897e84

I don't know if this should compile (but I think so) or if the 
error message is a bit ... in need of improvement.
Thoughts?


More information about the Digitalmars-d-learn mailing list