Skip to content

avm2: Account for shared slot_id/disp_id numbering space in slot hole check#23145

Open
SuchAFuriousDeath wants to merge 2 commits intoruffle-rs:masterfrom
SuchAFuriousDeath:fix-slot-auto-assign-direct-super
Open

avm2: Account for shared slot_id/disp_id numbering space in slot hole check#23145
SuchAFuriousDeath wants to merge 2 commits intoruffle-rs:masterfrom
SuchAFuriousDeath:fix-slot-auto-assign-direct-super

Conversation

@SuchAFuriousDeath
Copy link
Collaborator

@SuchAFuriousDeath SuchAFuriousDeath commented Feb 28, 2026

Fixes #23143.

@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch from b22ac67 to 7b089eb Compare February 28, 2026 12:53
@kjarosh
Copy link
Member

kjarosh commented Feb 28, 2026

Can you elaborate on the fix?

@SuchAFuriousDeath
Copy link
Collaborator Author

SuchAFuriousDeath commented Feb 28, 2026

Yeah sure, just give me a while. Just for context - I had Claude Code research and bisect the regression and it got a bit too enthusiastic and created the PR before I had a chance to review this (It misunderstood a prompt). But I can confirm that #22136 broke that game based on a bisect.

@SuchAFuriousDeath SuchAFuriousDeath marked this pull request as draft February 28, 2026 12:59
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch from 7b089eb to c3549ba Compare February 28, 2026 13:21
@SuchAFuriousDeath SuchAFuriousDeath changed the title avm2: Auto-assign slots when direct superclass is from a different ABC avm2: Account for shared slot_id/disp_id numbering space in slot hole check Feb 28, 2026
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch from c3549ba to 54f89b5 Compare February 28, 2026 13:24
@danielhjacobs danielhjacobs added llm The PR contains mostly LLM-generated code A-avm2 Area: AVM2 (ActionScript 3) T-fix Type: Bug fix (in something that's supposed to work already) labels Mar 9, 2026
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch from 54f89b5 to 3b49d2c Compare March 9, 2026 23:18
@SuchAFuriousDeath SuchAFuriousDeath marked this pull request as ready for review March 9, 2026 23:33
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch 2 times, most recently from c23e66f to 792adaa Compare March 9, 2026 23:44
@Lord-McSweeney
Copy link
Collaborator

Adrian mentioned a case where this behavior causes a SWF that fails in FP to work in Ruffle over Discord. Can you add that as a test case?

@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch 2 times, most recently from 1925fed to 0358a72 Compare March 10, 2026 09:17
@SuchAFuriousDeath
Copy link
Collaborator Author

Adrian mentioned a case where this behavior causes a SWF that fails in FP to work in Ruffle over Discord. Can you add that as a test case?

Added as a known_failure.

@SuchAFuriousDeath SuchAFuriousDeath force-pushed the fix-slot-auto-assign-direct-super branch from 0358a72 to 65d5b04 Compare March 13, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-avm2 Area: AVM2 (ActionScript 3) llm The PR contains mostly LLM-generated code T-fix Type: Bug fix (in something that's supposed to work already)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Enchanted Cave 2: The ABC data is corrupt

4 participants