Skip to content

Commit

Permalink
Fix frontends.sln build.
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed May 26, 2021
1 parent ce199fa commit 2d65def
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ ILInstruction BuildNewObj(IMethod method, Func<ILInstruction>[] args)
bool isLifted = NullableType.IsNullable(argumentType);
return (() => underlyingType.IsKnownType(KnownTypeCode.Boolean)
? Comp.LogicNot(argument(), isLifted)
: new BitNot(argument(), isLifted, underlyingType.GetStackType()), argumentType);
: (ILInstruction)new BitNot(argument(), isLifted, underlyingType.GetStackType()), argumentType);
case 2:
if (!MatchGetMethodFromHandle(invocation.Arguments[1], out var method))
return (null, SpecialType.UnknownType);
Expand Down

0 comments on commit 2d65def

Please sign in to comment.