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