ext/rbs_extension/ruby_objs.c in rbs-3.5.3 vs ext/rbs_extension/ruby_objs.c in rbs-3.6.0.dev.1

- old
+ new

@@ -305,14 +305,15 @@ 1, &args ); } -VALUE rbs_ast_type_param(VALUE name, VALUE variance, bool unchecked, VALUE upper_bound, VALUE location) { +VALUE rbs_ast_type_param(VALUE name, VALUE variance, bool unchecked, VALUE upper_bound, VALUE default_type, VALUE location) { VALUE args = rb_hash_new(); rb_hash_aset(args, ID2SYM(rb_intern("name")), name); rb_hash_aset(args, ID2SYM(rb_intern("variance")), variance); rb_hash_aset(args, ID2SYM(rb_intern("upper_bound")), upper_bound); + rb_hash_aset(args, ID2SYM(rb_intern("default_type")), default_type); rb_hash_aset(args, ID2SYM(rb_intern("location")), location); VALUE type_param = CLASS_NEW_INSTANCE(RBS_AST_TypeParam, 1, &args); if (unchecked) {