Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
sheaf's avatar
sheaf authored
This commit replaces unstructured SDoc arguments in error message constructors
with uses of the following two datatypes:

  - SigLike: for different kinds of signatures (e.g. standalone kind signatures,
    fixity signatures, COMPLETE pragmas, etc)
  - Subordinate: for class methods, associated types, and record fields

The following error message constructors now no longer have any SDocs in them:

  - TcRnIllegalBuiltinSyntax: SDoc -> SigLike
  - MissingBinding: SDoc -> SigLike
  - UnknownSubordinate: SDoc -> (Name, Subordinate)
  - SuggestMoveToDeclarationSite: SDoc -> SigLike
9003ef0a
History
Name Last commit Last update