diff dmd/Cast.d @ 63:cab4c37afb89

A bunch of implementations
author korDen
date Mon, 23 Aug 2010 16:52:24 +0400
parents 10317f0c89a5
children 43073c7c7769
line wrap: on
line diff
--- a/dmd/Cast.d	Mon Aug 23 03:21:32 2010 +0400
+++ b/dmd/Cast.d	Mon Aug 23 16:52:24 2010 +0400
@@ -126,7 +126,7 @@
 
 			Expression exp = new IntegerExp(0);
 			exp = Cast(v.type, v.type, exp);
-			if (exp == EXP_CANT_INTERPRET)
+			if (exp is EXP_CANT_INTERPRET)
 				return exp;
 			elements.push(cast(void*)exp);
 		}