Skip to content

feat: route simple optional computed delete - #2966

Merged
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-9
Jun 1, 2026
Merged

feat: route simple optional computed delete#2966
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-9

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Summary

  • admit delete box?.[key] into production unified bytecode via the existing optional computed delete short-circuit lowering
  • keep optional named delete and chained optional delete neighbors as explicit declines
  • add public route proof and update the unified-bytecode contract/rule docs

Verification

  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedName~UnifiedBytecodeProductionEligibilityTests.Evaluate_OptionalComputedPropertyDeleteCandidate_AcceptsOwnedPropertyOpcodes|FullyQualifiedName~UnifiedBytecodeProductionEligibilityTests.Evaluate_OptionalPropertyDelete_DeclinesWithExplicitCode|FullyQualifiedName~UnifiedBytecodeProductionEligibilityTests.Evaluate_UnsupportedOptionalComputedPropertyDeleteNeighbor_DeclinesWithExplicitCode|FullyQualifiedName~UnifiedBytecodeProductionInvocationTests.SimpleOptionalComputedPropertyDelete_UsesUnifiedBytecodeProductionFastPathAndSkipsNullishKey|FullyQualifiedName~UnifiedBytecodeProductionInvocationTests.OptionalComputedPropertyDelete_UsesUnifiedBytecodeProductionFastPathAndSkipsNullishKey"
  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedName~UnifiedBytecodeProductionEligibilityTests|FullyQualifiedName~UnifiedBytecodeProductionInvocationTests|FullyQualifiedName~ExpressionProgramCoverageMapTests.UnifiedBytecodeExpansionContract_ListsRequiredHeadingsAndCurrentEnums"
  • rtk rg "EvaluateExpression\\(|ProfileEvaluateExpression\\(" src/Asynkron.JsEngine/Ast/TypedAstEvaluator.ExecutionPlanRunner* (no matches)
  • rtk ./tools/profile forloop --memory (Total allocated 6.85 MB)
  • rtk git diff --check

Copilot AI review requested due to automatic review settings June 1, 2026 10:05
@rogeralsing
rogeralsing merged commit d6c30ef into main Jun 1, 2026
1 check failed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants