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

Fix completion option location not found #80283

Conversation

ajreckof
Copy link
Member

@ajreckof ajreckof commented Aug 5, 2023

Fixes #80280

I'm not 100% sure about myself but I feel it didn't make sense to use class_name while we are looking to see if the property is inside the class.So I treated it just as simply a confusion but maybe there was another case that needed this if so we would need to find a solution to accommodates both situation.
I think it was @EricEzaM who made this part of the code so he might have a better understanding of wether this was simply a mistake or if there was a specific case this was targeting.

@ajreckof ajreckof requested a review from a team as a code owner August 5, 2023 00:23
@EricEzaM
Copy link
Contributor

EricEzaM commented Aug 5, 2023

Honestly I don't recall, but I guess this change makes sense? A script does not require class_name to be present.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Looks straightforward.

@akien-mga akien-mga added the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Aug 5, 2023
@akien-mga akien-mga merged commit 40363a8 into godotengine:master Aug 7, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.3.

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Oct 19, 2023
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.

Some completion options are placed too much down because there locations default to location others
5 participants