stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

Replace `unreachable` and `panic` with an internal error #3526

Open obycode opened 1 year ago

obycode commented 1 year ago

From #3489:

Add an internal error type to capture all cases that are currently deemed unreachable, so at least the network doesn't crash each time we find something like this.

jcnelson commented 1 year ago

To narrow this down, this specifically refers to just the AST pass.