From 362f078ef980c735d29bfa037d2a907f0002aece Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Thu, 17 Jun 2021 10:44:05 +0200 Subject: Typos, minor comment fixes - Remove fstName, sndName, fstIdKey, sndIdKey - no longer used, removed from basicKnownKeyNames - Remove breakpointId, breakpointCondId, opaqueTyCon, unknownTyCon - they were used in the old implementation of the GHCi debugger - Fix typos in comments - Remove outdated comment in Lint.hs - Use 'LitRubbish' instead of 'RubbishLit' for consistency - Remove comment about subkinding - superseded by Note [Kind Constraint and kind Type] - Mention ticket ID in a linear types error message - Fix formatting in using-warnings.rst and linear-types.rst - Remove comment about 'Any' in Dynamic.hs - Dynamic now uses Typeable + existential instead of Any - Remove codeGen/should_compile/T13233.hs This was added by accident, it is not used and T13233 is already in should_fail --- docs/users_guide/using-warnings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/users_guide/using-warnings.rst') diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 840c66eef6..108928f210 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -844,11 +844,11 @@ of ``-W(no-)*``. :since: 9.2 Template Haskell quotes referring to local variables bound outside - of the quote are implicitly converted to use ``lift`. For example, + of the quote are implicitly converted to use ``lift``. For example, ``f x = [| reverse x |]`` becomes ``f x = [| reverse $(lift x) |])``. This flag issues a warning for every such implicit addition of ``lift``. This can be useful when debugging more complex staged programs, - where an implicit `lift`` can accidentally conceal a variable + where an implicit ``lift`` can accidentally conceal a variable used at a wrong stage. .. ghc-flag:: -Wimplicit-prelude -- cgit v1.2.1