Browse Source

Fix typo in type inference for BrLogicAnd/BrLogicOr.

pull/70/head
Daniel Grunwald 15 years ago
parent
commit
ef5ef62adc
  1. 2
      ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs

2
ICSharpCode.Decompiler/ILAst/TypeAnalysis.cs

@ -116,7 +116,7 @@ namespace Decompiler
case ILCode.BrLogicOr: case ILCode.BrLogicOr:
if (forceInferChildren) { if (forceInferChildren) {
InferTypeForExpression(expr.Arguments[0], typeSystem.Boolean); InferTypeForExpression(expr.Arguments[0], typeSystem.Boolean);
InferTypeForExpression(expr.Arguments[0], typeSystem.Boolean); InferTypeForExpression(expr.Arguments[1], typeSystem.Boolean);
} }
return null; return null;
#endregion #endregion

Loading…
Cancel
Save