GDScript: Fix @icon annotation

This commit is contained in:
Danil Alexeev 2023-01-31 17:43:54 +03:00
parent e1648b3327
commit 83cb968965
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7
4 changed files with 38 additions and 10 deletions

View file

@ -1401,7 +1401,7 @@ private:
// Annotations
AnnotationNode *parse_annotation(uint32_t p_valid_targets);
bool register_annotation(const MethodInfo &p_info, uint32_t p_target_kinds, AnnotationAction p_apply, const Vector<Variant> &p_default_arguments = Vector<Variant>(), bool p_is_vararg = false);
bool validate_annotation_argument_count(AnnotationNode *p_annotation);
bool validate_annotation_arguments(AnnotationNode *p_annotation);
void clear_unused_annotations();
bool tool_annotation(const AnnotationNode *p_annotation, Node *p_target);
bool icon_annotation(const AnnotationNode *p_annotation, Node *p_target);