mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Expose ir::Value::try_from_initializer method
This commit is contained in:
@@ -227,7 +227,7 @@ impl Value {
|
|||||||
Ok(value)
|
Ok(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn try_from_initializer(
|
pub fn try_from_initializer(
|
||||||
initializer: &ast::Initializer,
|
initializer: &ast::Initializer,
|
||||||
dtype: &Dtype,
|
dtype: &Dtype,
|
||||||
structs: &HashMap<String, Option<Dtype>>,
|
structs: &HashMap<String, Option<Dtype>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user