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

GD-594: Fix mock fails on class with parameter getter setter #595

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

MikeSchulze
Copy link
Owner

Why

see #594

What

There was a bug in the script parser using hard coded check for getter/setter parameter named type. Fixed by using a pattern to detect a getter/setter matching.

# Why
see #594

# What
There was a bug in the script parser using hard coded check for getter/setter  parameter named `type`.
Fixed by using a pattern to detect a getter/setter matching.
@MikeSchulze MikeSchulze linked an issue Nov 7, 2024 that may be closed by this pull request
@MikeSchulze MikeSchulze self-assigned this Nov 7, 2024
@MikeSchulze MikeSchulze added the bug Something isn't working label Nov 7, 2024
@MikeSchulze MikeSchulze merged commit c3e2137 into master Nov 7, 2024
@MikeSchulze MikeSchulze deleted the GD-594 branch November 7, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-594: Mocked scripts with property syntax result invalid gdscript
1 participant