view dmd/OverloadSet.d @ 92:0c891ec48515

Fixed another bug related to copy ctor
author korDen
date Mon, 30 Aug 2010 23:43:38 +0400
parents 7e0d548de9e6
children e28b18c23469
line wrap: on
line source

module dmd.OverloadSet;

import dmd.Dsymbol;
import dmd.ArrayTypes;

class OverloadSet : Dsymbol
{
    Dsymbols a;		// array of Dsymbols

    this()
	{
		a = new Dsymbols();
	}
	
    void push(Dsymbol s)
	{
		a.push(s);
	}
	
    override OverloadSet isOverloadSet() { return this; }

    override string kind()
	{
		return "overloadset";
	}
}