changeset 1614:709f6451b315

Fix outdated test case pointed out by Don Clugston.
author Christian Kamm <kamm incasoftware de>
date Mon, 25 May 2009 20:07:04 +0200
parents 70a23cb6a616
children 8d5c55d163fd
files run/f/foreach_38_A.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/run/f/foreach_38_A.d	Sun May 10 12:10:34 2009 +0200
+++ b/run/f/foreach_38_A.d	Mon May 25 20:07:04 2009 +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]));
 	}
 }