Elm Exactly
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.

Testelm-0.19.1elm-0.19.2elm-0.19.3lamdera-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.
failfailfailfail
elm-error-catalogue / ErrorMessage2012NameClashCaretSpacesTest (must not compile)elm19-bug-fix
The NAME CLASH report underlines with the wrong carets and hundreds of trailing spaces.
failpasspasspass
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.
failfailfailfail
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.
failfailfailfail
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.
failpasspasspass
elm-error-catalogue / ErrorMessage2302NameClashListPatternWhitespaceTest (must not compile)elm19-bug-fix
The NAME CLASH report for a list pattern `[ a, a ]` prints 65532 spaces.
failpasspasspass
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.
passpasspasspass
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.
passpasspasspass
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.
failfailfailfail
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.
passpasspasspass
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.
failfailfailfail
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.
failfailfailfail
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.
failfailfailfail
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.
passpasspasspass
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).
failfailfailfail
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.
failfailfailfail
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.
failpasspasspass

Discussions

Discuss this tag·Search the discussions on GitHub

Discussions are on GitHub; one about this tag has [tag:error-message] in its title.