(oper != Binary.Operator.Subtraction));
if (need_check &&
- !Convert.ImplicitConversionExists (ec, match, other.Type)) {
- Convert.Error_CannotImplicitConversion (loc, match.Type, other.Type);
+ !Convert.WideningConversionExists (ec, match, other.Type)) {
+ Convert.Error_CannotWideningConversion (loc, match.Type, other.Type);
left = null;
right = null;
return;
Binary.Error_OperatorCannotBeApplied (loc, ">>", lt, rt);
break;
- case Binary.Operator.LogicalAnd:
+ case Binary.Operator.LogicalAndAlso:
if (left is BoolConstant && right is BoolConstant){
return new BoolConstant (
((BoolConstant) left).Value &&
}
break;
- case Binary.Operator.LogicalOr:
+ case Binary.Operator.LogicalOrElse:
if (left is BoolConstant && right is BoolConstant){
return new BoolConstant (
((BoolConstant) left).Value ||