nac3ore: default parameter of type int64 should be specified explicitly
This commit is contained in:
parent
6b059fa288
commit
e75ec35687
@ -354,7 +354,10 @@ impl TopLevelComposer {
|
||||
if let Ok(v) = v.try_into() {
|
||||
Ok(SymbolValue::I32(v))
|
||||
} else {
|
||||
Ok(SymbolValue::I64(v.try_into().unwrap()))
|
||||
Err(format!(
|
||||
"int64 default parameter should be specified explicitly by `int64()` at {}",
|
||||
loc
|
||||
))
|
||||
}
|
||||
}
|
||||
Constant::Float(v) => Ok(SymbolValue::Double(*v)),
|
||||
|
Loading…
Reference in New Issue
Block a user