diff options
Diffstat (limited to 'compiler/specialise')
-rw-r--r-- | compiler/specialise/Specialise.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/specialise/Specialise.hs b/compiler/specialise/Specialise.hs index 84f8b62639..b69c9140b9 100644 --- a/compiler/specialise/Specialise.hs +++ b/compiler/specialise/Specialise.hs @@ -1746,8 +1746,8 @@ CallInfoSet used to be defined as: data CallInfoSet = CIS Id (Map CallKey ([DictExpr], VarSet)) Unfortunately this was not deterministic. The Ord instance of CallKey was -defined in terms of cmpType which is not deterministic. -See Note [cmpType nondeterminism]. +defined in terms of nonDetCmpType which is not deterministic. +See Note [nonDetCmpType nondeterminism]. The end result was that if the function had multiple specializations they would be generated in arbitrary order. |