Login
View Ticket
Login
2025-01-11
09:07 Fixed ticket [c5c296e85a]: Strange use of `delete` in whwasmutil.js plus 6 other changes artifact: 5c36577b42 user: stephan
09:06
Resolve ticket [c5c296e85a7c013608201bf47b5b9f908ee2d56e], in which a bug in whwasmutil.js would (A) cause manual deregistration of custom WASM func args/result conversions to silently fail and (B) triggers a warning from the Google closure compiler. Leaf check-in: 6576bb2f7b user: stephan tags: trunk
07:30 New ticket [c5c296e85a] Strange use of `delete` in whwasmutil.js. artifact: f4a144356a user: anonymous

Ticket Hash: c5c296e85a7c013608201bf47b5b9f908ee2d56e
Title: Strange use of `delete` in whwasmutil.js
Status: Fixed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2025-01-11 09:07:30
Version Found In: sqlite 3470200
User Comments:
anonymous added on 2025-01-11 07:30:28:

I am using sqlite3.js in my clojurescript project, which by necessity involves feeding sqlite3.js into the google closure compiler.

Closure really does not like this line: whwasmutil.js:2058 .

I have guessed that what was intended was the delete method of es6 Map: xcvPart.delete(typeName) rather than the delete operator.


stephan added on 2025-01-11 09:07:30:

A very nice catch! This is now fixed in both 6576bb2f7bd4d57 and the downstream SQLite3 copy: https://sqlite.org/src/info/99917a5bb04b5

Thank you for the report.