diff options
author | Nadrieril | 2020-02-17 18:12:44 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-17 18:12:44 +0000 |
commit | 2f65c02a995f6b6d4c755197fc074782f6bb100d (patch) | |
tree | ebe6373d5344b90f1a3e77b1a772e1ccadc6be81 /dhall/src/semantics/resolve | |
parent | 73571249f9bcf8efe84708a4a9f8665af62e44f0 (diff) |
Rename TyExpr to Tir
Diffstat (limited to '')
-rw-r--r-- | dhall/src/semantics/resolve/hir.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/semantics/resolve/hir.rs b/dhall/src/semantics/resolve/hir.rs index b5db66f..ae65fff 100644 --- a/dhall/src/semantics/resolve/hir.rs +++ b/dhall/src/semantics/resolve/hir.rs @@ -1,5 +1,5 @@ use crate::error::TypeError; -use crate::semantics::{type_with, NameEnv, NzEnv, TyEnv, TyExpr, Value}; +use crate::semantics::{type_with, NameEnv, NzEnv, Tir, TyEnv, Value}; use crate::syntax::{Expr, ExprKind, Span, V}; use crate::{NormalizedExpr, ToExprOptions}; @@ -70,7 +70,7 @@ impl Hir { } /// Typecheck the Hir. - pub fn typecheck(&self, env: &TyEnv) -> Result<TyExpr, TypeError> { + pub fn typecheck(&self, env: &TyEnv) -> Result<Tir, TypeError> { type_with(env, self, None) } |