Skip to content

Route derived public fields through unified bytecode - #2994

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

Route derived public fields through unified bytecode#2994
rogeralsing merged 1 commit into
mainfrom
codex/unified-bytecode-loop-36-derived-fields

Conversation

@rogeralsing

Copy link
Copy Markdown
Contributor

Summary

  • admit simple derived constructors with public instance fields into production unified bytecode
  • push the existing pending class-field initializer before VM execution and consume it after the VM super construct boundary initializes this
  • update constructor coverage and the decline contract to leave only derived private-field branding in this gate

Verification

  • rtk dotnet test tests/Asynkron.JsEngine.Tests -c Release --filter "FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.DerivedConstructorWithInstanceField_UsesProductionFastPathAndInitializesAfterSuper|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.SuperConstruct_InitializesThis|FullyQualifiedNameUnifiedBytecodeProductionConstructCallTests.SuperConstruct_DoubleCallThrows|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 18:04
@rogeralsing
rogeralsing merged commit 792572a into main Jun 1, 2026
@rogeralsing
rogeralsing deleted the codex/unified-bytecode-loop-36-derived-fields branch June 1, 2026 18:04

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