Skip to content

Commit fd3e69e

Browse files
committed
Update BREAKING_CHANGES.md: let-bindings use Block, not inline
1 parent 7a68cda commit fd3e69e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

BREAKING_CHANGES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ a.Equals(b) // Was: false, Now: true
1818

1919
## Expression Tree Structure Changes 🟡
2020

21-
### Let-bindings inlined
21+
### Let-bindings use Block instead of Lambda.Invoke
2222

2323
```fsharp
2424
<@ let x = 1 in x + 1 @>
2525
// Was: Lambda(x => x+1).Invoke(1)
26-
// Now: Add(1, 1)
26+
// Now: Block({ x = 1; x + 1 })
2727
```
2828

2929
**Migration:** If you detected let-bindings via `Lambda.Invoke`:
3030
```csharp
3131
// Old: if (node.Method.Name == "Invoke" && node.Object is LambdaExpression)
32-
// New: Let-bindings are inlined; process at F# quotation level if needed
32+
// New: if (node.NodeType == ExpressionType.Block)
3333
```
3434

3535
### Array access uses ArrayIndex

0 commit comments

Comments
 (0)