view dmd/TypeInfoSharedDeclaration.d @ 101:5e8783b5f929

Range violation error fixed (issue #2)
author korDen
date Tue, 31 Aug 2010 15:40:08 +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);
	}
}