summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/asm2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h
index 1df74456d..6ed13b79a 100644
--- a/src/asm2wasm.h
+++ b/src/asm2wasm.h
@@ -910,7 +910,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) {
}
import->functionType = ensureFunctionType(getSig(importedFunctionTypes[name].get()), &wasm);
} else if (import->module != ASM2WASM) { // special-case the special module
- // never actually used
+ // never actually used, which means we don't know the function type since the usage tells us, so illegal for it to remain
toErase.push_back(name);
}
}