| Copyright | (c) 2013-2016 Galois Inc. |
|---|---|
| License | BSD3 |
| Maintainer | cryptol@galois.com |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Cryptol.ModuleSystem.Renamer.Error
Description
Documentation
data RenamerError Source #
Constructors
| MultipleSyms (Located PName) [Name] | Multiple imported symbols contain this name |
| UnboundName Namespace (Located PName) | Some name not bound to any definition |
| OverlappingSyms [Name] | An environment has produced multiple overlapping symbols |
| WrongNamespace Namespace Namespace (Located PName) | expected, actual. When a name is missing from the expected namespace, but exists in another |
| FixityError (Located Name) Fixity (Located Name) Fixity | When the fixity of two operators conflict |
| InvalidConstraint (Type PName) | When it's not possible to produce a Prop from a Type. |
| MalformedBuiltin (Type PName) PName | When a builtin type/type-function is used incorrectly. |
| BoundReservedType PName (Maybe Range) Doc | When a builtin type is named in a binder. |
| OverlappingRecordUpdate (Located [Selector]) (Located [Selector]) | When record updates overlap (e.g., |
| InvalidDependency [DepName] |
Instances
Constructors
| NamedThing Name | |
| ConstratintAt Range | identifed by location in source |
Instances
| Eq DepName Source # | |
| Ord DepName Source # | |
Defined in Cryptol.ModuleSystem.Renamer.Error | |
| Show DepName Source # | |
| Generic DepName Source # | |
| NFData DepName Source # | |
Defined in Cryptol.ModuleSystem.Renamer.Error | |
| PP DepName Source # | |
| type Rep DepName Source # | |
Defined in Cryptol.ModuleSystem.Renamer.Error type Rep DepName = D1 ('MetaData "DepName" "Cryptol.ModuleSystem.Renamer.Error" "cryptol-2.13.0-BA7OuzmYZ3M9j8JsJfXs6b" 'False) (C1 ('MetaCons "NamedThing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)) :+: C1 ('MetaCons "ConstratintAt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) | |
depNameLoc :: DepName -> Range Source #
data RenamerWarning Source #
Constructors
| SymbolShadowed PName Name [Name] | |
| UnusedName Name |