@@ -2840,9 +2840,7 @@ let ComputeDebugPointForBinding g bind =
28402840 | DebugPointAtBinding.NoneAtDo, _ -> false , None
28412841 | DebugPointAtBinding.NoneAtLet, _ -> false , None
28422842 // Don't emit debug points for lambdas.
2843- | _,
2844- ( Expr.Lambda _
2845- | Expr.TyLambda _) -> false , None
2843+ | _, ( Expr.Lambda _ | Expr.TyLambda _) -> false , None
28462844 | DebugPointAtBinding.Yes m, _ -> false , Some m
28472845
28482846//-------------------------------------------------------------------------
@@ -5134,21 +5132,10 @@ and GenAsmCode cenv cgbuf eenv (il, tyargs, args, returnTys, m) sequel =
51345132 // For these we can just generate the argument and change the test (from a brfalse to a brtrue and vice versa)
51355133 | ([ AI_ ceq ],
51365134 [ arg1
5137- Expr.Const (( Const.Bool false
5138- | Const.SByte 0 y
5139- | Const.Int16 0 s
5140- | Const.Int32 0
5141- | Const.Int64 0 L
5142- | Const.Byte 0 uy
5143- | Const.UInt16 0 us
5144- | Const.UInt32 0 u
5145- | Const.UInt64 0 UL),
5135+ Expr.Const (( Const.Bool false | Const.SByte 0 y | Const.Int16 0 s | Const.Int32 0 | Const.Int64 0 L | Const.Byte 0 uy | Const.UInt16 0 us | Const.UInt32 0 u | Const.UInt64 0 UL),
51465136 _,
51475137 _) ],
5148- CmpThenBrOrContinue ( 1 ,
5149- [ I_ brcmp (( BI_ brfalse
5150- | BI_ brtrue) as bi,
5151- label1) ]),
5138+ CmpThenBrOrContinue ( 1 , [ I_ brcmp (( BI_ brfalse | BI_ brtrue) as bi, label1) ]),
51525139 _) ->
51535140
51545141 let bi =
@@ -7903,9 +7890,7 @@ and GenDecisionTreeTest
79037890 // If so, emit the failure logic, then came back and do the success target, then
79047891 // do any postponed failure target.
79057892 match successTree, failureTree with
7906- | TDSuccess _,
7907- ( TDBind _
7908- | TDSwitch _) ->
7893+ | TDSuccess _, ( TDBind _ | TDSwitch _) ->
79097894
79107895 // OK, there is more logic in the decision tree on the failure branch
79117896 let success = CG.GenerateDelayMark cgbuf " testSuccess"
@@ -10641,10 +10626,9 @@ and GenTypeDef cenv mgbuf lazyInitInfo eenv m (tycon: Tycon) =
1064110626 | None -> None
1064210627 | Some memberInfo ->
1064310628 match name, memberInfo.MemberFlags.MemberKind with
10644- | ( " Item"
10645- | " op_IndexedLookup" ),
10646- ( SynMemberKind.PropertyGet
10647- | SynMemberKind.PropertySet) when not ( isNil ( ArgInfosOfPropertyVal g vref.Deref)) ->
10629+ | ( " Item" | " op_IndexedLookup" ), ( SynMemberKind.PropertyGet | SynMemberKind.PropertySet) when
10630+ not ( isNil ( ArgInfosOfPropertyVal g vref.Deref))
10631+ ->
1064810632 Some(
1064910633 mkILCustomAttribute (
1065010634 g.FindSysILTypeRef " System.Reflection.DefaultMemberAttribute" ,
0 commit comments