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

GDScript: Fix cached parser error when using typed Dictionaries #98400

Merged

Conversation

rune-scape
Copy link
Contributor

fixes #96881

a small mistake from #94871 where i only checked the first of the container types

also added a message to ensure_cached_external_parser_for_class explaining its function

@tracefree
Copy link
Contributor

Can confirm this fixes the issue for me!

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. I haven't tested this, but it seems reasonable. Also @rune-scape is the original author of the code and @tracefree confirmed that this fixes the issue.

modules/gdscript/gdscript_analyzer.cpp Outdated Show resolved Hide resolved
@rune-scape rune-scape force-pushed the fix-typed-dict-cached-parser branch from 5d1c37a to eb8b989 Compare October 22, 2024 09:13
@clayjohn clayjohn merged commit 38f2144 into godotengine:master Oct 25, 2024
20 checks passed
@clayjohn
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants