summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 87e18c7ba..8869c7e80 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -392,7 +392,7 @@ public:
std::ostream& print(std::ostream &o, unsigned indent, bool full=false) {
if (full) {
printOpening(o, "type") << ' ';
- name.print(o);
+ name.print(o) << " (func";
}
if (params.size() > 0) {
o << ' ';
@@ -409,7 +409,7 @@ public:
printBasicType(o, result) << ')';
}
if (full) {
- o << ')';
+ o << "))";;
}
return o;
}