Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mitigate sydtest crash when used recursively
This closes NorfairKing#91 by avoiding a call to `withArgs` if the argument list is already empty. `withArgs` can crash in a concurrent environment (see GHC BUG https://gitlab.haskell.org/ghc/ghc/-/issues/18261), hence we reduce the chance of this happening by not calling it when the list of arguments is already in the required state (e.g. empty).
- Loading branch information