view dmd/MATCH.d @ 87:b17640f0e4e8

Fixed a bug with a Scope.this(Scope enclosing) being called instead of Scope.clone() method (as a copy ctor replacement)
author korDen
date Mon, 30 Aug 2010 19:56:27 +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));