Skip to content

Prove discarded call unified bytecode routing - #2989

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

Prove discarded call unified bytecode routing#2989
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-31-discard-gate

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Summary

  • add eligibility and public route proof that a discarded identifier call compiles to the production unified bytecode call boundary and final Pop
  • document that there is no retained discard-specific production decline; remaining discarded-expression declines belong to their underlying semantic family
  • add a drift guard against reintroducing stale blanket non-directive discard-decline wording

Verification

  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests.Evaluate_DiscardedIdentifierCallCandidate_AcceptsInvocationBoundaryAndPop|FullyQualifiedNameUnifiedBytecodeProductionInvocationTests.DiscardedIdentifierCall_UsesUnifiedBytecodeProductionFastPathAndKeepsSideEffects|FullyQualifiedName~ExpressionProgramCoverageMapTests.UnifiedBytecodeDiscardDocumentation_DoesNotPreserveStaleBlanketDeclineRule"
  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests|FullyQualifiedNameUnifiedBytecodeProductionInvocationTests|FullyQualifiedName~ExpressionProgramCoverageMapTests"
  • rtk dotnet build src/Asynkron.JsEngine/Asynkron.JsEngine.csproj -c Release
  • rtk rg "EvaluateExpression(|ProfileEvaluateExpression(" src/Asynkron.JsEngine/Ast/TypedAstEvaluator.ExecutionPlanRunner*
  • rtk git diff --check

Copilot AI review requested due to automatic review settings June 1, 2026 17:06
@rogeralsing
rogeralsing merged commit e36df8c into main Jun 1, 2026
@rogeralsing
rogeralsing deleted the codex/unified-bytecode-loop-31-discard-gate branch June 1, 2026 17:06

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