valid: Check regular functions don't have bindings

Checks that all arguments and return types have no bindings in regular functions.
This commit is contained in:
João Capucho authored and Jim Blandy committed 2022-09-10 10:31:11 -07:00
1 parent db1321cfb6
commit ff69053bf2
3 files changed
+19 -2

No files matched your search

+1 -1
View File
@@ -472,7 +472,7 @@ impl super::Validator {
}
let info = self
.validate_function(&ep.function, module, mod_info)
.validate_function(&ep.function, module, mod_info, true)
.map_err(WithSpan::into_other)?;
#[cfg(feature = "validate")]