In the example detailing how two adapted modules could be merged together by a wasm engine, the $validateUtf8 function is called twice. However, both times it's called on the same string. I think the second instance should be called on $valSrc and $valLen rather than $keySrc and $keyLen.
In the example detailing how two adapted modules could be merged together by a wasm engine, the
$validateUtf8
function is called twice. However, both times it's called on the same string. I think the second instance should be called on$valSrc
and$valLen
rather than$keySrc
and$keyLen
.Actual
Expected