comparison run/bug_20050418_01.d @ 1559:ec5e144583ea

D1 -> D2 : 1/N
author thomask
date Sun, 19 Aug 2007 19:11:54 +0000
parents b8c0195059d9
children
comparison
equal deleted inserted replaced
1558:d40d75fcd5c5 1559:ec5e144583ea
12 12
13 class Buffer{ 13 class Buffer{
14 uint limit; 14 uint limit;
15 int position; 15 int position;
16 16
17 invariant{ 17 invariant(){
18 assert (position <= limit); 18 if(position > limit){
19 assert(0);
20 }
19 } 21 }
20 } 22 }
21 23
22 class Mapped : Buffer{ 24 class Mapped : Buffer{
23 this(){ 25 this(){