diff dmd/TraitsExp.d @ 84:be2ab491772e

Expressions -> Vector!Expression
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 30 Aug 2010 16:12:19 +0100
parents 2e2a5c3f943a
children 39648eb578f6
line wrap: on
line diff
--- a/dmd/TraitsExp.d	Mon Aug 30 18:42:04 2010 +0400
+++ b/dmd/TraitsExp.d	Mon Aug 30 16:12:19 2010 +0100
@@ -56,7 +56,7 @@
 			}
 			else
 				e = new DsymbolExp(Loc(0), f);
-			p.exps.push(cast(void*)e);
+			p.exps.push(e);
 		}
 		return 0;
 	}
@@ -314,8 +314,8 @@
 								goto Lnext;
 						}
 
-						StringExp se = new StringExp(loc, str);
-						exps.push(cast(void*)se);
+						auto se = new StringExp(loc, str);
+						exps.push(se);
 					}
 Lnext:
 					;