diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-06-01 01:46:09 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-06-02 15:42:59 +0000 |
commit | d550d9079d6518938a2e41622b1c3ebf1fb24f59 (patch) | |
tree | 6cc6657783d10640c3eb3dd931567afd2b3e2824 /compiler/GHC/Rename | |
parent | f065804eb7afa8a7902ccc779cf2c9fae520f956 (diff) | |
download | haskell-d550d9079d6518938a2e41622b1c3ebf1fb24f59.tar.gz |
Rename `HsToCore.{Coverage -> Ticks}`
The old name made it confusing why disabling HPC didn't disable the
entire pass. The name makes it clear --- there are other reasons to add
ticks in addition.
Diffstat (limited to 'compiler/GHC/Rename')
-rw-r--r-- | compiler/GHC/Rename/Expr.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Rename/Expr.hs b/compiler/GHC/Rename/Expr.hs index eab8711c8f..70233c0854 100644 --- a/compiler/GHC/Rename/Expr.hs +++ b/compiler/GHC/Rename/Expr.hs @@ -122,7 +122,7 @@ but several have a little bit of special treatment: * HsIf (if-the-else) if b then e1 else e2 ==> ifThenElse b e1 e2 We do this /only/ if rebindable syntax is on, because the coverage - checker looks for HsIf (see GHC.HsToCore.Coverage.addTickHsExpr) + checker looks for HsIf (see GHC.HsToCore.Ticks.addTickHsExpr) That means the typechecker and desugarer need to understand HsIf for the non-rebindable-syntax case. |