Skip to content

Route private field-in through unified bytecode - #2990

Merged
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-32-private-field-in
Jun 1, 2026
Merged

Route private field-in through unified bytecode#2990
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-32-private-field-in

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Summary

  • allow production unified bytecode routing for class methods with private-name scopes when the body is otherwise eligible
  • thread active/captured private-name scopes into the unified bytecode VM invocation bridge
  • add invocation coverage for #name in receiver routing and private member read decline, then update the decline ledger/docs

Verification

  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionInvocationTests.PrivateFieldIn_UsesUnifiedBytecodeProductionFastPathAndChecksBrand|FullyQualifiedNameUnifiedBytecodeProductionInvocationTests.PrivateNamedPropertyRead_StillDeclinesProductionUnifiedBytecode|FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests.Evaluate_PrivateFieldIn_AcceptsAndVmChecksPrivateBrand|FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests.Evaluate_PrivateNamedPropertyAccess_DeclinesWithExplicitCode|FullyQualifiedName~ExpressionProgramCoverageMapTests.UnifiedBytecodeExpansionContract_ListsRequiredHeadingsAndCurrentEnums"
  • 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:18
@rogeralsing
rogeralsing merged commit fe875c7 into main Jun 1, 2026
@rogeralsing
rogeralsing deleted the codex/unified-bytecode-loop-32-private-field-in branch June 1, 2026 17:19

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