fix(core): BorrowMutError in nested error (#15352)

This commit is contained in:
Bartek Iwańczuk 2022-07-30 16:09:42 +02:00 committed by GitHub
parent 3f0dcd3b80
commit 20a89d46c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 15 deletions

3
cli/tests/testdata/nested_error.ts vendored Normal file
View file

@ -0,0 +1,3 @@
throw {
foo: new Error(),
};