diff run/init_03.d @ 570:32f7f8ce5e51

updated "===" -> "is" and "!==" to "!(...===...)"
author thomask
date Wed, 08 Jun 2005 17:49:15 +0000
parents 55d03895784e
children b8c0195059d9
line wrap: on
line diff
--- a/run/init_03.d	Wed Jun 08 17:25:48 2005 +0000
+++ b/run/init_03.d	Wed Jun 08 17:49:15 2005 +0000
@@ -11,7 +11,7 @@
 int main(){
         static int[4] array2 = [5,6,7,8];
         TypeInfo i = typeid(typeof(array2.init));
-	assert(i !== null);
+	assert(!(i is null));
 	return 0;
 }