Skip to content

Commit 86fb90a

Browse files
committed
Add missing rust_name to annotation nodes
TypeApplicationAnnotation, InstanceVariableAnnotation, ClassAliasAnnotation, and ModuleAliasAnnotation also need rust_name fields for rust binding code generation.
1 parent c801005 commit 86fb90a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ nodes:
594594
- name: comment_location
595595
c_type: rbs_location
596596
- name: RBS::AST::Ruby::Annotations::TypeApplicationAnnotation
597+
rust_name: TypeApplicationAnnotationNode
597598
fields:
598599
- name: prefix_location
599600
c_type: rbs_location
@@ -604,6 +605,7 @@ nodes:
604605
- name: comma_locations
605606
c_type: rbs_location_list
606607
- name: RBS::AST::Ruby::Annotations::InstanceVariableAnnotation
608+
rust_name: InstanceVariableAnnotationNode
607609
fields:
608610
- name: prefix_location
609611
c_type: rbs_location
@@ -618,6 +620,7 @@ nodes:
618620
- name: comment_location
619621
c_type: rbs_location
620622
- name: RBS::AST::Ruby::Annotations::ClassAliasAnnotation
623+
rust_name: ClassAliasAnnotationNode
621624
fields:
622625
- name: prefix_location
623626
c_type: rbs_location
@@ -628,6 +631,7 @@ nodes:
628631
- name: type_name_location
629632
c_type: rbs_location
630633
- name: RBS::AST::Ruby::Annotations::ModuleAliasAnnotation
634+
rust_name: ModuleAliasAnnotationNode
631635
fields:
632636
- name: prefix_location
633637
c_type: rbs_location

0 commit comments

Comments
 (0)