@@ -71,12 +71,13 @@ VALUE rbs_ast_decl_class_super(VALUE name, VALUE args, VALUE location) {
7171 );
7272}
7373
74- VALUE rbs_ast_decl_class_alias (VALUE new_name , VALUE old_name , VALUE location , VALUE comment ) {
74+ VALUE rbs_ast_decl_class_alias (VALUE new_name , VALUE old_name , VALUE location , VALUE comment , VALUE annotations ) {
7575 VALUE _init_kwargs = rb_hash_new ();
7676 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("new_name" )), new_name );
7777 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("old_name" )), old_name );
7878 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("location" )), location );
7979 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("comment" )), comment );
80+ rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("annotations" )), annotations );
8081
8182 return CLASS_NEW_INSTANCE (
8283 RBS_AST_Declarations_ClassAlias ,
@@ -159,12 +160,13 @@ VALUE rbs_ast_decl_module_self(VALUE name, VALUE args, VALUE location) {
159160 );
160161}
161162
162- VALUE rbs_ast_decl_module_alias (VALUE new_name , VALUE old_name , VALUE location , VALUE comment ) {
163+ VALUE rbs_ast_decl_module_alias (VALUE new_name , VALUE old_name , VALUE location , VALUE comment , VALUE annotations ) {
163164 VALUE _init_kwargs = rb_hash_new ();
164165 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("new_name" )), new_name );
165166 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("old_name" )), old_name );
166167 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("location" )), location );
167168 rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("comment" )), comment );
169+ rb_hash_aset (_init_kwargs , ID2SYM (rb_intern ("annotations" )), annotations );
168170
169171 return CLASS_NEW_INSTANCE (
170172 RBS_AST_Declarations_ModuleAlias ,
0 commit comments