Function gluon_base::resolve::remove_alias[][src]

pub fn remove_alias(
    env: &TypeEnv,
    typ: &ArcType
) -> Result<Option<ArcType>, Error>

Expand typ if it is an alias that can be expanded and return the expanded type. Returns None if the type is not an alias or the alias could not be expanded.