@@ -1495,7 +1495,7 @@ let CompilePatternBasic
1495
1495
[]
1496
1496
1497
1497
| DecisionTreeTest.IsNull _ ->
1498
- match computeWhatSuccessfulTypeTestImpliesAboutNullTest g tgtTy1 with
1498
+ match computeWhatSuccessfulNullTestImpliesAboutTypeTest g tgtTy1 with
1499
1499
| Implication.Succeeds -> [ Frontier ( i, newActives, valMap)]
1500
1500
| Implication.Fails -> []
1501
1501
| Implication.Nothing -> [ frontier]
@@ -1509,7 +1509,7 @@ let CompilePatternBasic
1509
1509
1510
1510
match discrim with
1511
1511
| DecisionTreeTest.IsInst (_ srcTy, tgtTy2) ->
1512
- match computeWhatSuccessfulTypeTestImpliesAboutTypeTest g amap m tgtTy1 tgtTy2 with
1512
+ match computeWhatSuccessfulTypeTestImpliesAboutTypeTest g amap m tgtTy2 tgtTy1 with
1513
1513
| Implication.Succeeds ->
1514
1514
match pbindOpt with
1515
1515
| Some pbind ->
@@ -1531,7 +1531,7 @@ let CompilePatternBasic
1531
1531
[ frontier]
1532
1532
1533
1533
| DecisionTreeTest.IsNull _ ->
1534
- match computeWhatSuccessfulTypeTestImpliesAboutNullTest g tgtTy1 with
1534
+ match computeWhatSuccessfulNullTestImpliesAboutTypeTest g tgtTy1 with
1535
1535
| Implication.Succeeds -> [ Frontier ( i, newActives, valMap)]
1536
1536
| Implication.Fails -> []
1537
1537
| Implication.Nothing -> [ frontier]
@@ -1548,7 +1548,7 @@ let CompilePatternBasic
1548
1548
| DecisionTreeTest.IsNull ->
1549
1549
[ Frontier ( i, newActives, valMap)]
1550
1550
| DecisionTreeTest.IsInst (_, tgtTy) ->
1551
- match computeWhatSuccessfulNullTestImpliesAboutTypeTest g tgtTy with
1551
+ match computeWhatSuccessfulTypeTestImpliesAboutNullTest g tgtTy with
1552
1552
| Implication.Succeeds -> [ Frontier ( i, newActives, valMap)]
1553
1553
| Implication.Fails -> []
1554
1554
| Implication.Nothing -> [ frontier]
0 commit comments