Skip to content

Commit 6a9f05e

Browse files
authored
The line 555 was already matched on line 523 so this gives unnecessary warning FS0026: This rule will never be matched (#385)
1 parent a35115b commit 6a9f05e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ProvidedTypes.fs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,6 @@ module UncheckedQuotations =
552552
ShapeCombinationUnchecked (Shape (function [cond; body] -> Expr.WhileLoopUnchecked (cond, body) | _ -> invalidArg "expr" "invalid shape"), [cond; body])
553553
| IfThenElse (g, t, e) ->
554554
ShapeCombinationUnchecked (Shape (function [g; t; e] -> Expr.IfThenElseUnchecked (g, t, e) | _ -> invalidArg "expr" "invalid shape"), [g; t; e])
555-
| TupleGet (expr, i) ->
556-
ShapeCombinationUnchecked (Shape (function [expr] -> Expr.TupleGetUnchecked (expr, i) | _ -> invalidArg "expr" "invalid shape"), [expr])
557555
| ExprShape.ShapeCombination (comb, args) ->
558556
ShapeCombinationUnchecked (Shape (fun args -> ExprShape.RebuildShapeCombination(comb, args)), args)
559557
| ExprShape.ShapeVar v -> ShapeVarUnchecked v

0 commit comments

Comments
 (0)