You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constwatt=require('watt');classTest{constructor(){watt.wrapAll(this);}getx(){console.log('x called by watt wrapping');console.log(newError().stack);}}newTest();
$ node ./test.js
x called by watt wrapping
Error
at Test.get x [as x] (/home/schroeterm/devel/westeros-dev/test.js:10:17)
at wrapAndBind (/home/schroeterm/devel/westeros-dev/node_modules/watt/index.js:63:16)
at Function.wrapAll (/home/schroeterm/devel/westeros-dev/node_modules/watt/index.js:74:37)
at new Test (/home/schroeterm/devel/westeros-dev/test.js:5:10)
at Object.<anonymous> (/home/schroeterm/devel/westeros-dev/test.js:14:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
The text was updated successfully, but these errors were encountered:
Skywalker13
added a commit
to Xcraft-Inc/xcraft-core-goblin
that referenced
this issue
Nov 2, 2018
Hello
The text was updated successfully, but these errors were encountered: