[Git][ghc/ghc][wip/t22884] Apply 1 suggestion(s) to 1 file(s)
sheaf (@sheaf)
gitlab at gitlab.haskell.org
Mon May 22 10:44:29 UTC 2023
sheaf pushed to branch wip/t22884 at Glasgow Haskell Compiler / GHC
Commits:
60c30150 by sheaf at 2023-05-22T10:44:27+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -
1 changed file:
- compiler/GHC/Types/Error.hs
Changes:
=====================================
compiler/GHC/Types/Error.hs
=====================================
@@ -285,7 +285,7 @@ data NoDiagnosticOpts = NoDiagnosticOpts
instance HasDefaultDiagnosticOpts NoDiagnosticOpts where
defaultOpts = NoDiagnosticOpts
--- | Make a "simple" unknown diagnostic which doesn't have
+-- | Make a "simple" unknown diagnostic which doesn't have any configuration options.
mkSimpleUnknownDiagnostic :: (Diagnostic a, Typeable a, DiagnosticOpts a ~ NoDiagnosticOpts) => a -> UnknownDiagnostic b
mkSimpleUnknownDiagnostic = UnknownDiagnostic (const NoDiagnosticOpts)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/60c301500086068ae9f3230ff6174595d1f16a0c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/60c301500086068ae9f3230ff6174595d1f16a0c
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230522/aaaf8571/attachment.html>
More information about the ghc-commits
mailing list