Skip to content

Commit e6e36bb

Browse files
TIHanbaronfel
authored andcommitted
Update IlxGen.fs (#7227)
1 parent 7c72eb0 commit e6e36bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fsharp/IlxGen.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,8 @@ and GenAllocUnionCase cenv cgbuf eenv (c,tyargs,args,m) sequel =
25332533
GenSequel cenv eenv.cloc cgbuf sequel
25342534

25352535
and GenLinearExpr cenv cgbuf eenv sp expr sequel canProcessSequencePoint (contf: FakeUnit -> FakeUnit) =
2536-
match stripExpr expr with
2536+
let expr = stripExpr expr
2537+
match expr with
25372538
| LinearOpExpr (TOp.UnionCase c, tyargs, argsFront, argLast, m) ->
25382539
GenExprs cenv cgbuf eenv argsFront
25392540
GenLinearExpr cenv cgbuf eenv SPSuppress argLast Continue (* canProcessSequencePoint *) true (contf << (fun Fake ->

0 commit comments

Comments
 (0)