Constant Default Parameter Support #98

Merged
sb10q merged 7 commits from default_parameter into master 2021-11-23 07:32:09 +08:00
Showing only changes of commit ee7c1eb11d - Show all commits

View File

@ -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
)) ))
} }