diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 21:56:50 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 21:56:50 -0700 |
commit | ec6206a81a1d61efe5bda69ab704c09e75033c01 (patch) | |
tree | 0bab6c1fb1ba657b9edcbc6c235211f3160c800b /proc.c | |
parent | 3463e83192215c36bdcebad8be907eaa09593a41 (diff) |
Use more accurate source location in keyword argument separation warnings
This shows locations in places it didn't before, such as for
proc calls, and fixes the location for super calls.
This requires making iseq_location non-static and MJIT exported,
which I hope will not cause problems.
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1183,7 +1183,7 @@ rb_proc_get_iseq(VALUE self, int *is_proc) return NULL; } -static VALUE +MJIT_FUNC_EXPORTED VALUE iseq_location(const rb_iseq_t *iseq) { VALUE loc[2]; |