@@ -47,7 +47,7 @@ struct Recorder {
4747 active : bool ,
4848 to_s_id : ID ,
4949 local_variables_id : ID ,
50- local_get_id : ID ,
50+ local_variable_get_id : ID ,
5151 inst_meth_id : ID ,
5252 parameters_id : ID ,
5353 class_id : ID ,
@@ -188,7 +188,7 @@ unsafe extern "C" fn ruby_recorder_alloc(klass: VALUE) -> VALUE {
188188 active : false ,
189189 to_s_id : rb_intern ! ( "to_s" ) ,
190190 local_variables_id : rb_intern ! ( "local_variables" ) ,
191- local_get_id : rb_intern ! ( "local_variable_get" ) ,
191+ local_variable_get_id : rb_intern ! ( "local_variable_get" ) ,
192192 inst_meth_id : rb_intern ! ( "instance_method" ) ,
193193 parameters_id : rb_intern ! ( "parameters" ) ,
194194 class_id : rb_intern ! ( "class" ) ,
@@ -545,7 +545,7 @@ unsafe fn record_variables(recorder: &mut Recorder, binding: VALUE) -> Vec<FullV
545545 let sym = * ptr. add ( i) ;
546546 let id = rb_sym2id ( sym) ;
547547 let name = CStr :: from_ptr ( rb_id2name ( id) ) . to_str ( ) . unwrap_or ( "" ) ;
548- let value = rb_funcall ( binding, recorder. local_get_id , 1 , sym) ;
548+ let value = rb_funcall ( binding, recorder. local_variable_get_id , 1 , sym) ;
549549 let val_rec = to_value ( recorder, value, 10 ) ;
550550 TraceWriter :: register_variable_with_full_value (
551551 & mut * recorder. tracer ,
@@ -595,7 +595,7 @@ unsafe fn collect_parameter_values(
595595 continue ;
596596 }
597597 let name = CStr :: from_ptr ( name_c) . to_str ( ) . unwrap_or ( "" ) . to_string ( ) ;
598- let value = rb_funcall ( binding, recorder. local_get_id , 1 , name_sym) ;
598+ let value = rb_funcall ( binding, recorder. local_variable_get_id , 1 , name_sym) ;
599599 let val_rec = to_value ( recorder, value, 10 ) ;
600600 result. push ( ( name, val_rec) ) ;
601601 }
0 commit comments