Elide extraneous messages for :doc command (#15784)
Do not print `<has no documentation>` alongside a valid doc. Additionally, if two matching symbols lack documentation then the message will only be printed once. Hence, `<has no documentation>` will be printed at most once and only if all matching symbols are lacking docs.
Showing
- ghc/GHCi/UI.hs 15 additions, 5 deletionsghc/GHCi/UI.hs
- testsuite/tests/ghci/scripts/ghci065.hs 7 additions, 0 deletionstestsuite/tests/ghci/scripts/ghci065.hs
- testsuite/tests/ghci/scripts/ghci065.script 2 additions, 0 deletionstestsuite/tests/ghci/scripts/ghci065.script
- testsuite/tests/ghci/scripts/ghci065.stdout 2 additions, 0 deletionstestsuite/tests/ghci/scripts/ghci065.stdout
Loading
Please register or sign in to comment