Function literal_to_value

Source
pub fn literal_to_value(literal: &Literal, ty: &Option<Type>) -> Result<Value>