nac3core: change default parameter integer out of range err msg

This commit is contained in:
ychenfo 2021-11-21 22:05:12 +08:00
parent 6397e42e74
commit ee7c1eb11d

View File

@ -360,7 +360,7 @@ pub fn parse_parameter_default_value(default: &ast::Expr, resolver: &(dyn Symbol
Ok(SymbolValue::I32(v))
} else {
Err(format!(
"int64 default parameter should be specified explicitly by `int64()` at {}",
"integer value out of range at {}",
loc
))
}