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

Change GDScript tests to use InstancePlaceholder as the example abstract class #79524

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

aaronfranke
Copy link
Member

This PR is split off from #67510 for easy reviewing.

It changes the GDScript tests to use InstancePlaceholder as the example abstract class instead of CanvasItem, since I want to allow extending CanvasItem. Why InstancePlaceholder: somewhat arbitrary, out of the current abstract classes this seems like a class that nobody would ever want to extend.

Also, this PR includes some formatting fixes in canvas_item.h.

Copy link
Member

@dalexeev dalexeev left a comment

Choose a reason for hiding this comment

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

Looks good to me. #67510 doesn't look big for a review though.

Copy link
Member

@adamscott adamscott left a comment

Choose a reason for hiding this comment

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

It's fine for me!

@YuriSizov YuriSizov merged commit de0f793 into godotengine:master Jul 21, 2023
@YuriSizov
Copy link
Contributor

Thanks! For the record, the canvas item changes should've been avoided here, since they aren't relevant to the improvements. But it wasn't worth the trouble to request an amendment :)

@aaronfranke aaronfranke deleted the gds-test-inst-placeholder branch July 21, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants