-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Implement typed dictionaries #1162
Conversation
eec44d2
to
191037d
Compare
65f0881
to
f5b340a
Compare
f5b340a
to
ebf275e
Compare
2775b10
to
fd05eca
Compare
fd05eca
to
2ffff66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks good to me :-)
@@ -2765,6 +2827,12 @@ def correct_typed_array(type_name): | |||
return type_name | |||
|
|||
|
|||
def correct_typed_dictionary(type_name): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's unused?
fully_used_classes.add(dict_type_name) | ||
else: | ||
used_classes.add(dict_type_name) | ||
dict_type_name = dict_type_names[2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why index 2? That would be the third entry. I think dictionary only have 2 types?
fully_used_classes.add(dict_type_name) | ||
else: | ||
used_classes.add(dict_type_name) | ||
dict_type_name = dict_type_names[2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why index 2? That would be the third entry. I think dictionary only have 2 types?
@Repiteo Any thoughts on Zylann's comments above? |
A godot-cpp counterpart to PR godotengine/godot#78656
Tests/builds will fail until the above is merged, as this PR is dependant on it.