You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Hyperbee.Expressions/Transformation/StateMachineBuilder.cs
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -433,7 +433,18 @@ FieldInfo[] fields
433
433
// return bodyExpressions;
434
434
//}
435
435
436
-
privatestaticList<Expression>GetBodyExpressions(ExpressionjumpTable,StateContext.ScopefirstScope)//BF ME Where does this operation belong? Should we do this for each scope?
436
+
//BF ME
437
+
//
438
+
// This proof-of-concept only merges the top-level scope.
439
+
//
440
+
// The final implementation
441
+
//
442
+
// - should merge all scopes
443
+
// - should probably be moved to the state-machine (node) optimizer
444
+
// - needs to latch in to try-catch transitions
445
+
// - should we consider a `BlockNodeExpression` that contains mergeable nodes?
0 commit comments