summaryrefslogtreecommitdiff
path: root/dhall/src/traits
diff options
context:
space:
mode:
authorNadrieril2019-04-11 19:04:19 +0200
committerNadrieril2019-04-11 19:04:19 +0200
commita4ef23fd3e7a053def648dca05dfc9a043af9860 (patch)
treeb74c33df5699313380335aa3ef2e1dbd4af23c5a /dhall/src/traits
parent61b2ac7fb35c2a8aca703d5a5f9a9a8f28def977 (diff)
Respect import boundaries
Closes #54
Diffstat (limited to '')
-rw-r--r--dhall/src/traits/dynamic_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/traits/dynamic_type.rs b/dhall/src/traits/dynamic_type.rs
index 25fe52d..66af320 100644
--- a/dhall/src/traits/dynamic_type.rs
+++ b/dhall/src/traits/dynamic_type.rs
@@ -35,7 +35,7 @@ impl DynamicType for Normalized {
Some(t) => Ok(Cow::Borrowed(t)),
None => Err(TypeError::new(
&Context::new(),
- self.0.clone(),
+ self.0.absurd(),
TypeMessage::Untyped,
)),
}