Skip to content

avm2: Fix classes of objects created by newactivation and newcatch #20023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 15, 2025

Conversation

Lord-McSweeney
Copy link
Collaborator

@Lord-McSweeney Lord-McSweeney commented Apr 5, 2025

No description provided.

@Lord-McSweeney Lord-McSweeney added A-avm2 Area: AVM2 (ActionScript 3) T-refactor Type: Refactor / Cleanup T-compat Type: Compatibility with Flash Player labels Apr 5, 2025
@Lord-McSweeney Lord-McSweeney force-pushed the avm2-correct-classes branch 2 times, most recently from 8a4a681 to e0d4c3a Compare April 8, 2025 16:52
@Lord-McSweeney Lord-McSweeney force-pushed the avm2-correct-classes branch 2 times, most recently from d1bd0ec to e5b9db6 Compare April 14, 2025 00:13
@@ -215,8 +215,7 @@ pub enum Op<'gc> {
num_args: u32,
},
NewCatch {
#[collect(require_static)]
index: Index<Exception>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I still like Index/u32 in ops where we know it's gonna be u32 :/ But not blocking the change either.

@Lord-McSweeney Lord-McSweeney enabled auto-merge (rebase) April 15, 2025 01:15
@Lord-McSweeney Lord-McSweeney merged commit dcf44ef into ruffle-rs:master Apr 15, 2025
22 checks passed
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) T-compat Type: Compatibility with Flash Player T-refactor Type: Refactor / Cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants