summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-20 08:52:15 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-20 08:52:15 +0000
commit81c378400434dd15989a4b22d812cf2f78e6104f (patch)
tree785a45f1cc045cd9394c1ba33fc2381a07c199d9 /vm_core.h
parente896f104872e85a8c35e15a6e938423b6d6aca03 (diff)
merge revision(s) 49517: [Backport #10831]
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols list to get rid of inadvertent creation by variable keyword arguments. [ruby-core:68031] [Bug #10831] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 809da4e86f..51be6992e1 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -137,7 +137,7 @@ struct rb_control_frame_struct;
typedef struct rb_call_info_kw_arg_struct {
int keyword_len;
- ID keywords[1];
+ VALUE keywords[1];
} rb_call_info_kw_arg_t;
/* rb_call_info_t contains calling information including inline cache */