Prefer dedicated enum over int

This commit is contained in:
Nobuyoshi Nakada 2020-05-18 12:41:59 +09:00
parent acf61e85f3
commit c0cd474d4f
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -6946,7 +6946,7 @@ delegate_call_p(const rb_iseq_t *iseq, unsigned int argc, const LINK_ANCHOR *arg
}
static int
compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, int type, int line, int popped)
compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, const enum node_type type, int line, int popped)
{
/* call: obj.method(...)
* fcall: func(...)