dhall-haskell/dhall/tests
Gabriel Gonzalez f24f665047
Fix non-exhaustive pattern match in `dhall lint` (#780)
`dhall lint` would fail on the following expression:

```
    let replicate = https://prelude.dhall-lang.org/List/replicate

in  let Config = { name : Text, age : Natural }

in  let Configs = List Config

in  replicate 10 Text "!"
```

... because the code (incorrectly) assumed that simplifying an inner
`let` binding would preserve at least one `let` binding.  However, when the
outer `let` (beginning with `let replicate`) is simplified the inner `let`
(beginning with `let Config`) simplifies down to just `replicate 10 Text "!"`
which has no `let` binding at all, leading to a pattern match failure.

This change fixes that by extending the code to correctly handle that case
with an exhaustive pattern match.
2019-01-16 21:59:11 -08:00
..
Dhall/Test Fix non-exhaustive pattern match in `dhall lint` (#780) 2019-01-16 21:59:11 -08:00
format Restore `Parent` constructor for `Local` (#718) 2018-11-28 19:30:38 -08:00
import Update standard version to 5.0.0 in Binary.hs (#771) 2018-12-31 10:48:17 -06:00
lint/success Fix non-exhaustive pattern match in `dhall lint` (#780) 2019-01-16 21:59:11 -08:00
normalization/success Implement standardized support for multi-line literals (#726) 2018-12-08 08:49:08 -08:00
parser Update binary encoding/decoding for imports (#728) 2018-12-08 10:25:07 -08:00
regression Implement standardized support for multi-line literals (#726) 2018-12-08 08:49:08 -08:00
tutorial constructors === id (#693) 2018-11-27 11:53:20 -08:00
typecheck Fix type-checking bug for unions (#763) 2018-12-22 08:39:26 -06:00