1 parent 9785244 commit 87bc57fCopy full SHA for 87bc57f
1 file changed
src/wasm-type.h
@@ -835,6 +835,7 @@ struct TypeBuilder {
835
assert(t.isRef());
836
auto mapped = map(t.getHeapType());
837
auto null = t.getNullability();
838
+ // References to basic heap types cannot be exact.
839
auto exact = mapped.isBasic() ? Inexact : t.getExactness();
840
return getTempRefType(mapped, null, exact);
841
};
0 commit comments