Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fsdk/Misc: add better assert function
Debug.Assert is better than failwith in the sense that its failure cannot be captured by a try-with block, however failwith is better than Debug.Assert because it also fails in !DEBUG (fail fast is better). So here we create the best of both worlds.
- Loading branch information