avoid printing backtrace line with unknown place info

parent 141d0d84
...@@ -202,6 +202,7 @@ showcallinfo(mrb_state *mrb) ...@@ -202,6 +202,7 @@ showcallinfo(mrb_state *mrb)
} }
} }
} }
if (line == -1) continue;
if (ci->target_class == ci->proc->target_class) if (ci->target_class == ci->proc->target_class)
sep = "."; sep = ".";
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment