diff --git a/lang/src/son.rs b/lang/src/son.rs index 3ad3322..84d690c 100644 --- a/lang/src/son.rs +++ b/lang/src/son.rs @@ -105,7 +105,7 @@ impl Nodes { } fn as_ty(&self, cint: Nid) -> ty::Id { - if self[citn].ty == ty::Id::NEVER { + if self[cint].ty == ty::Id::NEVER { return ty::Id::NEVER; } debug_assert_eq!(self[cint].ty, ty::Id::TYPE);