Results / tags /
error-message
requests for a better error report: what a compiler's report says or how it is laid out, which A Standard Definition of Elm? does not define; named `ErrorMessages…` or `ErrorMessage…` after their issue, and kept in the project `elm-error-catalogue`
Discussions of this tag and its tests ↓
Showing 17 of 17 tests. Hover over a badge for the reason.
| Test | elm-0.19.1 | elm-0.19.2 | elm-0.19.3 | lamdera-1.5.0 |
|---|---|---|---|---|
| elm-error-catalogue / ErrorMessage1043PortErrorObjectObjectTestXFAILelm19-bugelm-unspecced A value of the wrong type arriving on an incoming port crashes the program with a message that describes the value. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessage2012NameClashCaretSpacesTest (must not compile)elm19-bug-fix The NAME CLASH report underlines with the wrong carets and hundreds of trailing spaces. | fail | pass | pass | pass |
| elm-error-catalogue / ErrorMessage2104IfBranchWrongTypeReportedTest (must not compile)elm19-bug The TYPE MISMATCH report for `if` branches with different numbers of arguments must show the first branch's own type, not a type that neither branch has. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessage2107PipeIfInfiniteTypeReportedTest (must not compile)elm19-bug A TYPE MISMATCH report for an `if` piped with `|>` must not show an infinite type `Thing ∞` when no type in the program is infinite. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessage2147NameClashWhitespaceTest (must not compile)elm19-bug-fix The NAME CLASH report for a pattern that binds the same name twice prints tens of thousands of spaces. | fail | pass | pass | pass |
| elm-error-catalogue / ErrorMessage2302NameClashListPatternWhitespaceTest (must not compile)elm19-bug-fix The NAME CLASH report for a list pattern `[ a, a ]` prints 65532 spaces. | fail | pass | pass | pass |
| elm-error-catalogue / ErrorMessagesIssue103ImportedModuleWithoutModuleLineTest (must not compile)elm19-compile-error Importing a module whose file has no `module` line is reported as MODULE NAME MISSING. | pass | pass | pass | pass |
| elm-error-catalogue / ErrorMessagesIssue203ListWithoutArgumentTest (must not compile)elm19-compile-error `List` used without its type argument in an annotation is reported as TOO FEW ARGS. | pass | pass | pass | pass |
| elm-error-catalogue / ErrorMessagesIssue228ComparableListHintTest (must not compile)elm19-bug A Set of lists of a custom type is rejected (the custom type is not comparable), but the hint blames the List. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessagesIssue234DivTooManyArgsTest (must not compile)elm19-compile-error `Html.div` applied to four arguments is reported as TOO MANY ARGS, saying it expects 2. | pass | pass | pass | pass |
| elm-error-catalogue / ErrorMessagesIssue288ConsOntoListAliasTest (must not compile)elm19-bug Consing an element of the wrong type onto a value whose type is an alias of a List (`type alias ListOfInts = List Int`) produces a second report claiming the alias is not a list. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessagesIssue306AmbiguousImportedTypeTest (must not compile)elm19-bug Two imports that both expose a type of the same name (`Decoder` from Json.Decode and from Bytes.Decode) make an unqualified use of that type ambiguous, but the compiler silently picks one of them. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessagesIssue322LetRecursiveRecordLambdaTestelm19-bug A `let`-bound record whose field is a lambda that refers back to the record (through another lambda) is rejected as an infinite loop, although the recursion is well founded. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessagesIssue34UnexposedQualifiedTypeTest (must not compile)elm19-compile-error A qualified type that its module does not expose is reported as a NAMING ERROR naming the module. | pass | pass | pass | pass |
| elm-error-catalogue / ErrorMessagesIssue356UnicodeEscapeBadSuggestionTest (must not compile)elm19-bug For the too-short unicode escape `"\u{01}"` the compiler suggests `\u{001}`, which is also too short (and for `\u{001}` it suggests `\u{01}` back). | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessagesIssue361ExtensibleAliasOfUnitCrashTest (must not compile)elm19-bug An extensible-record type alias applied to a non-record type (`ExtRec ()`) crashes the compiler instead of reporting a type error. | fail | fail | fail | fail |
| elm-error-catalogue / ErrorMessagesIssue372EmptyRecordUpdateExtraCommaTest (must not compile)elm19-bug-fix A record update with no fields, `{ key | }`, is reported as an EXTRA COMMA, although the program has no comma at all. | fail | pass | pass | pass |
Discussions
Discuss this tag·Search the discussions on GitHub
Discussions are on GitHub; one about this tag has [tag:error-message] in its title.