mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix an age-old bug in the lower-level wasm/js helper bits which was (A) caused removal of customized WASM func/argument conversion to siltently fail and (B) triggered a warning in the closure toolchain. Reported in [jaccwabyt ticket c5c296e85a7c01360820|https://fossil.wanderinghorse.net/r/jaccwabyt/info/c5c296e85a7c01360820].
FossilOrigin-Name: 99917a5bb04b5ad6ace95baf86d91e6ce098f9d3001de1a29d3d0b0b817acdce
This commit is contained in:
@ -2055,7 +2055,7 @@ globalThis.WhWasmUtilInstaller = function(target){
|
||||
if(1===argc) return xcvPart.get(typeName);
|
||||
else if(2===argc){
|
||||
if(!adapter){
|
||||
delete xcvPart.get(typeName);
|
||||
xcvPart.delete(typeName);
|
||||
return func;
|
||||
}else if(!(adapter instanceof Function)){
|
||||
toss(modeName,"requires a function argument.");
|
||||
|
Reference in New Issue
Block a user