Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): simplify error handling #10297

Merged
merged 6 commits into from
Apr 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cli/tsc: drop unnecessary Error class registration
  • Loading branch information
AaronO committed Apr 21, 2021
commit 551043acf1f3d869abcf7d1a156f310446207058
1 change: 0 additions & 1 deletion cli/tsc/99_main_compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,6 @@ delete Object.prototype.__proto__;

// Setup the compiler runtime during the build process.
core.ops();
core.registerErrorClass("Error", Error);

// A build time only op that provides some setup information that is used to
// ensure the snapshot is setup properly.
Expand Down