Skip to content
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

avm2: Remove outdated TODO comments #16035

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

Lord-McSweeney
Copy link
Collaborator

No description provided.

@@ -903,9 +903,6 @@ pub fn set_scroll_rect<'gc>(
object_to_rectangle(activation, rectangle)?,
);

// TODO: Technically we should accept only `flash.geom.Rectangle` objects, in which case
// `object_to_rectangle` will be infallible. Once this happens, the following line can
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the following line can be moved above the set_next_scroll_rect call.

I didn't see the point in doing that, so I left it as-is.

@@ -34,8 +34,6 @@ pub enum Hint {
}

/// An AVM2 value.
///
/// TODO: AVM2 also needs Scope, Namespace, and XML values.
Copy link
Collaborator

Choose a reason for hiding this comment

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

this comment isn't entirely irrelevant, as in: IIRC FP does have a primitive type for namespaces. I don't really understand why or if it can ever matter, so yeah let's drop it :)

@Lord-McSweeney Lord-McSweeney enabled auto-merge (rebase) April 19, 2024 21:52
@Lord-McSweeney Lord-McSweeney merged commit 955d038 into ruffle-rs:master Apr 19, 2024
17 checks passed
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.

None yet

2 participants