pub fn partial_type(&self) -> bool {
        use self::Type::Unknown;
        match *self {
            Unknown => true,
            _ => self.children().any(|t| t.partial_type()),
        }
    }
Returns whether this `Type` is partial.

A type is partial if it or any of its subtypes is `Unknown`.
weld/src/ast/ast.rs