diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-01-11 22:42:13 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2023-01-16 12:01:29 -0500 |
commit | 4e17ebb1872f1b0ec7868abe0e92c11b9effd910 (patch) | |
tree | 6ab656415f1bdb0d00b51c8e1774232bebb45b41 /compiler/Language | |
parent | b3be0d185b6e597fa517859430cf6d54df04ca46 (diff) | |
download | haskell-wip/T22739.tar.gz |
compiler: Small optimisation of assertMwip/T22739
In #22739 @AndreasK noticed that assertM performed the action to compute
the asserted predicate regardless of whether DEBUG is enabled. This is
inconsistent with the other assertion operations and general convention.
Fix this.
Closes #22739.
Diffstat (limited to 'compiler/Language')
0 files changed, 0 insertions, 0 deletions