diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-03-18 14:45:35 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-19 14:48:20 -0400 |
commit | d744c8645e77b97122339b35c4d6c757e606c196 (patch) | |
tree | 0488df6f01fb8f2c45c2c95dde9c3bf76e3aa903 /compiler/cbits | |
parent | 105a5f47e57910bef3c2e2c9637aea7a3f5d1314 (diff) | |
download | haskell-d744c8645e77b97122339b35c4d6c757e606c196.tar.gz |
genSym: Fix DEBUG build
It looks like this was likely a cut-and-paste error.
Diffstat (limited to 'compiler/cbits')
-rw-r--r-- | compiler/cbits/genSym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c index 725a310253..4af39408ed 100644 --- a/compiler/cbits/genSym.c +++ b/compiler/cbits/genSym.c @@ -10,7 +10,7 @@ static HsInt GenSymInc = 1; STATIC_INLINE void checkUniqueRange(HsInt u STG_UNUSED) { #if DEBUG // Uh oh! We will overflow next time a unique is requested. - assert(h != UNIQUE_MASK); + assert(u != UNIQUE_MASK); #endif } |