Skip to content

Route private named method calls through unified bytecode - #2999

Merged
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-41-private-call-target
Jun 1, 2026
Merged

Route private named method calls through unified bytecode#2999
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-41-private-call-target

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Summary

  • admit direct private named method call-target preparation into production unified bytecode
  • brand private-method-only class instances on the production constructor path, including after derived super()
  • update the expansion contract so PrivateFieldDependency now represents private delete only

Verification

  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionInvocationTests.PrivateNamedMethodCall_UsesUnifiedBytecodeProductionFastPath|FullyQualifiedNameUnifiedBytecodeProductionInvocationTests.PrivateNamedPropertyUpdate_UsesUnifiedBytecodeProductionFastPath|FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests.Evaluate_PrivateNamedMethodCall_AcceptsCallTargetPreparation|FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests.Evaluate_PrivateNamedPropertyDelete_DeclinesWithExplicitCode|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.BaseClassConstructorWithPrivateMethod_UsesProductionFastPathAndBrandsInstance|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.DerivedConstructorWithPrivateMethod_UsesProductionFastPathAndBrandsAfterSuper|FullyQualifiedName~ExpressionProgramCoverageMapTests.UnifiedBytecodeExpansionContract_ListsRequiredHeadingsAndCurrentEnums"
  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionEligibilityTests|FullyQualifiedNameUnifiedBytecodeProductionInvocationTests|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests|FullyQualifiedNameExpressionProgramCoverageMapTests"
  • 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 18:41
@rogeralsing
rogeralsing merged commit 172255b into main Jun 1, 2026

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.

@rogeralsing
rogeralsing deleted the codex/unified-bytecode-loop-41-private-call-target branch June 1, 2026 18:42
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