view dmd/expression/Bool.d @ 156:0c8cc2a10f99

+ ArrayInitializer.toAssocArrayLiteral() + FuncDeclaration.isUnique() + TypeEnum.alignsize() + TypeEnum.toChars() + TypeEnum.getProperty() + VarExp.equals() + expression.Util.fpunique() * fixed missing default in TypeBasic
author trass3r
date Wed, 15 Sep 2010 18:24:39 +0200
parents 3685b521ed05
children
line wrap: on
line source

module dmd.expression.Bool;

import dmd.IntegerExp;
import dmd.Loc;
import dmd.Type;
import dmd.Expression;

Expression Bool(Type type, Expression e1)
{
	return new IntegerExp(e1.loc, e1.isBool(1), type);
}