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
Observe: nothing is printed to the console. Debugging it shows that the message passed to super is not recorded. Something seems very strange with the prototype chain in this case.
I was under the impression from #3516 that this should work now even if generating ES5 code. If not possible for ES5 then the compiler should produce an error.
The text was updated successfully, but these errors were encountered:
The issue is with how these built in types are hand eked by the engine. They are extensible as per the es6 spec, but do not think the engines are there yet.
Test case:
myError.ts
tsconfig.json
compile and run using node:
node myError.js
Observe: nothing is printed to the console. Debugging it shows that the message passed to super is not recorded. Something seems very strange with the prototype chain in this case.
I was under the impression from #3516 that this should work now even if generating ES5 code. If not possible for ES5 then the compiler should produce an error.
The text was updated successfully, but these errors were encountered: