Project

General

Profile

« Previous | Next » 

Revision 9d76a0ab

Added by yui-knk (Kaneko Yuichiro) over 1 year ago

Add RB_GC_GUARD for ast_value

I think this change fixes the following assertion failure:

[BUG] unexpected rb_parser_ary_data_type (2114076960) for script lines 

It seems that ast_value is collected then rb_parser_build_script_lines_from
touches invalid memory address.
This change prevents ast_value from being collected by RB_GC_GUARD.