Mercurial > projects > ldc
view lphobos/internal/contract.d @ 37:77cdca8c210f trunk
[svn r41] new'd dynamic arrays are now initialized with the element type's default initializer.
initial label/goto support.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 03:38:24 +0200 |
parents | c53b6e3fe49a |
children | 61615fa85940 |
line wrap: on
line source
module internal.contract; extern(C): void exit(int); void _d_assert(bool cond, uint line, char* msg) { if (!cond) { printf("Aborted(%u): %s\n", line, msg); exit(1); } }