view dmd/TypeInfoSharedDeclaration.d @ 89:37b95c347975

Fixed an obscure bug with i variable being reused
author korDen
date Mon, 30 Aug 2010 23:25:50 +0400
parents ef02e2e203c2
children acd69f84627e
line wrap: on
line source

module dmd.TypeInfoSharedDeclaration;

import dmd.Type;
import dmd.TypeInfoDeclaration;
import dmd.backend.dt_t;

class TypeInfoSharedDeclaration : TypeInfoDeclaration
{
	this(Type tinfo)
	{
		super(tinfo, 0);
	    type = Type.typeinfoshared.type;
	}

	override void toDt(dt_t** pdt)
	{
		assert(false);
	}
}