diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2020-03-10 17:58:32 +0100 |
---|---|---|
committer | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2020-03-10 18:05:01 +0100 |
commit | abf5736bcad2d740b5854e2e4a9b3547b9b06639 (patch) | |
tree | 6ce982e8fb785f48fbefcb766890849272d9b415 /compiler/GHC/Core/Utils.hs | |
parent | 3300eeacbbf7a3d1f961f809be5d236c48827b28 (diff) | |
download | haskell-abf5736bcad2d740b5854e2e4a9b3547b9b06639.tar.gz |
Typos in comments [skip ci]
Diffstat (limited to 'compiler/GHC/Core/Utils.hs')
-rw-r--r-- | compiler/GHC/Core/Utils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Utils.hs b/compiler/GHC/Core/Utils.hs index 67ff7823e4..07faeee243 100644 --- a/compiler/GHC/Core/Utils.hs +++ b/compiler/GHC/Core/Utils.hs @@ -2322,7 +2322,7 @@ There are some particularly delicate points here: says f=bottom, and replaces the (f `seq` True) with just (f `cast` unsafe-co). BUT, as thing stand, 'f' got arity 1, and it *keeps* arity 1 (perhaps also wrongly). So CorePrep eta-expands - the definition again, so that it does not termninate after all. + the definition again, so that it does not terminate after all. Result: seg-fault because the boolean case actually gets a function value. See #1947. |