ruby-changes:55988
From: Yusuke <ko1@a...>
Date: Tue, 4 Jun 2019 11:40:23 +0900 (JST)
Subject: [ruby-changes:55988] Yusuke Endoh: 7866ed850c (trunk): node.c: Show the ID of internal variable
https://git.ruby-lang.org/ruby.git/commit/?id=7866ed850c From 7866ed850c1ae95a6b115e09f3788d5b623f0708 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Tue, 4 Jun 2019 11:39:27 +0900 Subject: node.c: Show the ID of internal variable diff --git a/node.c b/node.c index 65c6837..d2bf9bf 100644 --- a/node.c +++ b/node.c @@ -92,7 +92,7 @@ add_id(VALUE buf, ID id) https://github.com/ruby/ruby/blob/trunk/node.c#L92 A(":"); AR(str); } else { - A("(internal variable)"); + rb_str_catf(buf, "(internal variable: 0x%"PRIsVALUE")", id); } } } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/