repo.or.cz
/
ruby.git
/
blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
inline
|
side by side
Include the first constant name into `Ractor::IsolationError` message
[ruby.git]
/
ruby_parser.c
diff --git
a/ruby_parser.c
b/ruby_parser.c
index
04a49da
..
c48f563
100644
(file)
--- a/
ruby_parser.c
+++ b/
ruby_parser.c
@@
-1060,6
+1060,7
@@
rb_node_const_decl_val(const NODE *node)
}
else if (n && nd_type_p(n, NODE_COLON3)) {
// ::Const::Name
+ rb_ary_push(path, rb_id2str(RNODE_COLON3(n)->nd_mid));
rb_ary_push(path, rb_str_new(0, 0));
}
else {