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

Autocompletion: Keep get_node values which are compatible with type hint #92263

Conversation

HolonProduction
Copy link
Member

Fixes #92219

If the node behind the literal has the same type that is annotated the type will now still be handled by _get_subscript_type which means that the value on the type is set and argument options completion is possible again.

@HolonProduction HolonProduction requested a review from a team as a code owner May 22, 2024 17:28
@Chaosus Chaosus added this to the 4.3 milestone May 22, 2024
@akien-mga akien-mga changed the title Autocompletion: Keep get_node values which are compatible with type hint Autocompletion: Keep get_node values which are compatible with type hint May 23, 2024
@HolonProduction HolonProduction force-pushed the autocompletion-get-node-set-value-if-type-compatible branch from 9a02a2b to 2339776 Compare June 22, 2024 15:43
@HolonProduction HolonProduction force-pushed the autocompletion-get-node-set-value-if-type-compatible branch from 2339776 to 9a84387 Compare July 12, 2024 10:34
@dalexeev dalexeev modified the milestones: 4.3, 4.4 Jul 24, 2024
@dalexeev dalexeev added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Jul 24, 2024
@akien-mga akien-mga merged commit 7f1f979 into godotengine:master Oct 2, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release regression topic:editor topic:gdscript
Projects
None yet
4 participants