Skip to content

Route private base fields through unified bytecode - #2993

Merged
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-35-private-base-fields
Jun 1, 2026
Merged

Route private base fields through unified bytecode#2993
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-35-private-base-fields

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Summary

  • admit simple base class constructors with private instance fields into production unified bytecode
  • initialize/brand private instance fields before VM entry on the production constructor bridge
  • update decline contract docs and tighten the private-read decline assertion around method routing

Verification

  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.BaseClassConstructorWithPrivateInstanceField_UsesProductionFastPathAndBrandsInstance|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.BaseClassConstructorWithInstanceField_UsesProductionFastPathAndInitializesBeforeBody|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.DerivedConstructorWithInstanceField_DeclinesAndFallsBack|FullyQualifiedNameExpressionProgramCoverageMapTests.UnifiedBytecodeExpansionContract_ListsRequiredHeadingsAndCurrentEnums"
  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests|FullyQualifiedNameExpressionProgramCoverageMapTests.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* (no matches)
  • rtk git diff --check

Copilot AI review requested due to automatic review settings June 1, 2026 17:57
@rogeralsing
rogeralsing merged commit 6a3db9c 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-35-private-base-fields branch June 1, 2026 17:58
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