view dmd/MATCH.d @ 32:81796b717a39

A few bad cast fixed. TODO: either get rid of dyncast(), or derive all objects from intermediate supertype.
author korDen
date Tue, 18 May 2010 17:51:46 +0400
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.MATCH;

version (DMDV2) {
	enum MATCH
	{
		MATCHnomatch,	// no match
		MATCHconvert,	// match with conversions

		MATCHconst,		// match with conversion to const

		MATCHexact		// exact match
	}
} else {
	enum MATCH
	{
		MATCHnomatch,	// no match
		MATCHconvert,	// match with conversions

		MATCHexact		// exact match
	}
}

import dmd.EnumUtils;
mixin(BringToCurrentScope!(MATCH));