Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system/excpt: check if the exception is not nil before pop (nim-lang#…
…18247) In CPS we would consume an exception in the except branch by stashing it into a local then remove the exception from Nim environment so as not to leak it to other code that would be running before the continuation continues However since popCurrentException() assumes that the exception always exist, removing the exception from an except branch will cause a SIGSEGV to happen. This commit fixes that.
- Loading branch information