eval_error.c: revert the "reversed" backtrace [Feature #8661]

Now, the order is good, old-fashioned style:

```
$ ./local/bin/ruby -e 'def foo; raise; end
def bar; foo; end
def baz; bar; end
def qux; baz; end
qux
'
-e:1:in `foo': unhandled exception
	from -e:2:in `bar'
	from -e:3:in `baz'
	from -e:4:in `qux'
	from -e:5:in `<main>'
```
This commit is contained in:
Yusuke Endoh 2020-04-21 17:39:32 +09:00
Родитель c63b5c6179
Коммит 487d0c99d5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -362,7 +362,7 @@ rb_ec_error_print(rb_execution_context_t * volatile ec, volatile VALUE errinfo)
emesg = rb_get_message(errinfo); emesg = rb_get_message(errinfo);
} }
rb_error_write(errinfo, emesg, errat, Qnil, Qnil, Qnil); rb_error_write(errinfo, emesg, errat, Qnil, Qnil, Qfalse);
EC_POP_TAG(); EC_POP_TAG();
ec->errinfo = errinfo; ec->errinfo = errinfo;