fix getstack for gen.ef

master
Vitaliy Filippov 2016-08-27 23:36:34 +03:00
parent a468090041
commit 368485f50d
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ function errorFirst()
throw new Error('Broken control flow! Callback'+
getStack(thread._current)+
'\nmust be called to resume thread, but this one is called instead:'+
getStack(fn._stack)+'\n--'
getStack(fn)+'\n--'
);
}
if (arguments[0])

View File

@ -1,6 +1,6 @@
{
"name": "gen-thread",
"version": "1.0.3",
"version": "1.0.4",
"author": {
"name": "Vitaliy Filippov",
"email": "vitalif@yourcmc.ru"