... | ... | @@ -12,17 +12,17 @@ |
|
|
| ArityMismatch | $entity $name should have $argc arguments, but has $argc' arguments | - | Typfehler? |
|
|
|
| RecursiveTypeSynonyms | Recursive type synonym $name. Use "data" to write a recursive data type | Einfach | TypeDecl enthält eigenen identifier auf rechter Seite |
|
|
|
| DefArityMismatch | Arity mismatch in function bindings for $name. $arity parameters in most of the clauses | Einfach | Wird von SrcExts gemeldet |
|
|
|
| PatternDefinesNoVars | Left hand side pattern defines no variables | - | ? |
|
|
|
| WrongFileName | The file name $name doesn't match the module name $module | - | ? |
|
|
|
| IntLiteralTooBig | Integer literal $value too big. Maximum is $max | - | Nicht notwendig, da Helium-spezifisch |
|
|
|
| PatternDefinesNoVars | Left hand side pattern defines no variables | Einfach | let- und where-Ausdrücke müssen auf der linken Seite immer mindestens eine Variable haben |
|
|
|
| WrongFileName | The file name $name doesn't match the module name $module | Einfach | Vergleichen von Modulnamen und Dateinamen |
|
|
|
| IntLiteralTooBig | Int literal $value too big. Maximum is $max | Einfach | Int ist plattformspezifisch (vermutlich 32 oder 64-Bit) |
|
|
|
| OverloadedRestrPat | Illegal overloaded type signature for $name. Only functions and simple patterns can have an overloaded type | - | ? |
|
|
|
| OverloadingDisabled | Cannot handle contexts when overloading is disabled | - | ? |
|
|
|
| WrongOverloadingFlag | Using overloaded Prelude while overloading is not enabled. Compile with --overloading, or use the simple Prelude | - | ? |
|
|
|
| AmbiguousContext | Type variable $name appears in the context but not in the type | - | ? |
|
|
|
| AmbiguousContext | Type variable $name appears in the context but not in the type | Einfach | Prüfen ab Typvariable in Typconstraints in Typsignatur vorkommt |
|
|
|
| UnknownClass | Unknown class $name (Helium only supports Eq, Ord, Num, Show, Enum) | Einfach | Name in whitelist suchen |
|
|
|
| NonDerivableClass | Cannot derive class $name. Only Show and Eq instances can be derived | Einfach | Name in whitelist suchen|
|
|
|
| CannotDerive | Cannot derive instance for class $name | - | ? |
|
|
|
| TupleTooBig | Tuples can have up to 10 elements | - | Nicht notwendig, da Helium-spezifisch |
|
|
|
| CannotDerive | Cannot derive instance for class $name |Mittel| Beispiel: `data GG = G (String -> Int) deriving Show` nicht möglich da kein Show für Funktionen. Ausweg über eigene Instanzen! |
|
|
|
| TupleTooBig | Tuples can have up to 15 elements | Einfach | Vergleichen von Tupelkonstruktor und Anzahl an Argumenten |
|
|
|
| undefinedConstructorInExpr | Type constructor $name cannot be used in an expression | Einfach | Prüfen, ob Typkonstruktor in Ausdruck vorhanden ist |
|
|
|
| undefinedConstructorInPat | Use identifiers starting with a lower case letter to define a function or a variable. Type constructor $name cannot be used in a pattern | Einfach | PatBind mit großgeschriebenem Identifier suchen |
|
|
|
|
... | ... | @@ -40,7 +40,7 @@ |
|
|
| UnreachablePatternCase | Unreachable pattern: $pat | - | ? |
|
|
|
| UnreachableGuard | Unreachable guard: $guard | - | ? |
|
|
|
| FallThrough | It is good practise to have 'otherwise' as the last guard | - | Abhängig davon, ob alle Möglichkeiten abgedeckt sind |
|
|
|
| SignatureTooSpecific | Declared type signature for $name could be more general: declared type $dt, inferred type $it | - | ? |
|
|
|
| SignatureTooSpecific | Declared type signature for $name could be more general: declared type $dt, inferred type $it | - | Typinferenz, Vergleich mit vorhandener Signatur |
|
|
|
|
|
|
## Typfehlermeldungen
|
|
|
| Name | Text | Einschätzung der Schwierigkeit | Mögliche Umsetzung |
|
... | ... | |