this works: assert((cast(char*)null)[0..0] !is null); this dosn't assert((cast(char*)null)[0..10] !is null); DMD v1.005 linux Am I missing somthing?