diff run/f/foreach_38_B.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents 22767ec83a24
children
line wrap: on
line diff
--- a/run/f/foreach_38_B.d	Fri Feb 22 07:55:57 2008 +0000
+++ b/run/f/foreach_38_B.d	Thu Aug 21 15:42:21 2008 +0200
@@ -11,7 +11,7 @@
 
 void Fields(C)(){
 	foreach(i, a; typeof(C.tupleof)){
-		static assert(is(typeof(a) == typeof(C.tupleof)[i]));
+		static assert(is(a == typeof(C.tupleof)[i]));
 	}
 }