Skip to content

Bootstrap: dedupe Reference type patch in apply-patches.sh (#1074)#1127

Merged
PurHur merged 1 commit into
masterfrom
fix/bootstrap-reference-patch-dedup
May 23, 2026
Merged

Bootstrap: dedupe Reference type patch in apply-patches.sh (#1074)#1127
PurHur merged 1 commit into
masterfrom
fix/bootstrap-reference-patch-dedup

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 23, 2026

Summary

  • Remove broken duplicate patches/php-types-reference.patch (never applied on fresh vendor; wrong hunk order).
  • Keep php-types-cfg-reference.patch and apply it after php-types-nullable-return.patch.

Verification (local Docker)

  • ./script/apply-patches.shApplied php-types-cfg-reference.patch
  • BootstrapParserReferenceTest OK
  • make bootstrap-selfhost-probe OK

Closes #1074 (partial — patch hygiene for Reference return types).

Made with Cursor

Keep php-types-cfg-reference (applies after nullable-return) and drop the
broken php-types-reference.patch that never applied on fresh vendor.

Refs #1074.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 81b5073 into master May 23, 2026
@PurHur PurHur deleted the fix/bootstrap-reference-patch-dedup branch May 23, 2026 17:42
@PurHur
Copy link
Copy Markdown
Owner Author

PurHur commented May 23, 2026

Merged locally verified: apply-patches applies cfg-reference; bootstrap-selfhost-probe OK.

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.

Bootstrap AOT link matrix: recover failing fixtures (umbrella)

1 participant