nac3core: change default parameter integer out of range err msg
This commit is contained in:
parent
6397e42e74
commit
ee7c1eb11d
|
@ -360,7 +360,7 @@ pub fn parse_parameter_default_value(default: &ast::Expr, resolver: &(dyn Symbol
|
||||||
Ok(SymbolValue::I32(v))
|
Ok(SymbolValue::I32(v))
|
||||||
} else {
|
} else {
|
||||||
Err(format!(
|
Err(format!(
|
||||||
"int64 default parameter should be specified explicitly by `int64()` at {}",
|
"integer value out of range at {}",
|
||||||
loc
|
loc
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue