diff dmd/OverExp.d @ 63:cab4c37afb89

A bunch of implementations
author korDen
date Mon, 23 Aug 2010 16:52:24 +0400
parents 10317f0c89a5
children 2e2a5c3f943a
line wrap: on
line diff
--- a/dmd/OverExp.d	Mon Aug 23 03:21:32 2010 +0400
+++ b/dmd/OverExp.d	Mon Aug 23 16:52:24 2010 +0400
@@ -5,6 +5,7 @@
 import dmd.Scope;
 import dmd.Loc;
 import dmd.TOK;
+import dmd.Type;
 
 class OverExp : Expression
 {
@@ -12,8 +13,10 @@
 
 	this(OverloadSet s)
 	{
-		assert(false);
-		super(Loc(0), TOK.init, 0);
+		super(loc, TOKoverloadset, OverExp.sizeof);
+		//printf("OverExp(this = %p, '%s')\n", this, var.toChars());
+		vars = s;
+		type = Type.tvoid;
 	}
 
 	int isLvalue()