summaryrefslogtreecommitdiff
path: root/include/ruby/internal/iterator.h
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2024-01-08 14:03:54 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2024-01-08 18:48:24 +0900
commit41e2d180a3466a8d18c44246144a912adadd9d1a (patch)
tree480515b9584fcdb48c5edb6bfefb9bbdf755b716 /include/ruby/internal/iterator.h
parent7ffff3e043b081a8c72b8f8c537f17388fd127a9 (diff)
Do not convert NODE_STR to NODE_LIT when the string is hash key
parse.y converted NODE_STR when the string is hash key like ``` h1 = {"str1" => 1} m1("str2" => 2) m2({"str3" => 3}) ``` This commit stop the conversion. `static_literal_node_p` needs to know the node is for hash key or not for the optimization.
Diffstat (limited to 'include/ruby/internal/iterator.h')
0 files changed, 0 insertions, 0 deletions