diff --git a/syntax/improper.rs b/syntax/improper.rs index 6a9b5ac0..f19eb86a 100644 --- a/syntax/improper.rs +++ b/syntax/improper.rs @@ -19,7 +19,7 @@ impl<'a> Types<'a> { } else if let Some(strct) = self.structs.get(ident) { Depends(&strct.name.rust) // iterate to fixed-point } else { - Definite(self.rust.contains(ident)) + Definite(self.rust.contains(ident) || self.aliases.contains_key(ident)) } } Type::RustBox(_)