diff options
author | Nadrieril | 2019-05-09 12:48:41 +0200 |
---|---|---|
committer | Nadrieril | 2019-05-09 12:48:41 +0200 |
commit | 2020d41874f7681ba948a40d8e8f8993d651a81c (patch) | |
tree | 48668a407c9049d5b40f0195b5060cca6f5fd67d /dhall/src/error | |
parent | 325228d54a5b51979e0be112a51988c7449df89c (diff) |
Detect duplicate record fields in typecheck
Diffstat (limited to 'dhall/src/error')
-rw-r--r-- | dhall/src/error/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dhall/src/error/mod.rs b/dhall/src/error/mod.rs index 89568a3..ff748bc 100644 --- a/dhall/src/error/mod.rs +++ b/dhall/src/error/mod.rs @@ -72,6 +72,8 @@ pub(crate) enum TypeMessage { ProjectionMustBeRecord, ProjectionMissingEntry, Sort, + RecordTypeDuplicateField, + UnionTypeDuplicateField, Unimplemented, } |