summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/wasm-shell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp
index 670f5783d..bd8d987bd 100644
--- a/src/tools/wasm-shell.cpp
+++ b/src/tools/wasm-shell.cpp
@@ -160,8 +160,8 @@ static void run_asserts(Name moduleName, size_t* i, bool* checked, Module* wasm,
// validate "instantiating" the mdoule
for (auto& import : wasm.imports) {
if (import->module == SPECTEST && import->base == PRINT) {
- if (import->kind != Import::Function) {
- std::cerr << "spectest.print should be a function, but is " << import->kind << '\n';
+ if (import->kind != ExternalKind::Function) {
+ std::cerr << "spectest.print should be a function, but is " << int32_t(import->kind) << '\n';
invalid = true;
break;
}