]> git.kaiwu.me - quickjs.git/commit
explicit resource management: added 'using' variable declarations (initial patch...
authorFabrice Bellard <fabrice@bellard.org>
Mon, 19 Oct 2026 16:07:12 +0000 (18:07 +0200)
committerFabrice Bellard <fabrice@bellard.org>
Mon, 19 Oct 2026 16:07:12 +0000 (18:07 +0200)
commitc4f63e148d535b5509dcc9d7c5496b849fe73fa7
tree245c986501f5e4db425bc08181185ece98b1625a
parent0709d6b9a29a894c57ec8e0764b59270418b9fb1
explicit resource management: added 'using' variable declarations (initial patch by bnoordhuis and saghul) - simplified the code by removing 'OP_dispose_scope' as the disposal code can be generated on the fly - avoid declaring 'using' as a keyword - use peek_token() to efficiently test the presence of a 'using' declaration - added DECL_MASK_USING to identify the statements where 'using' declarations are allowed
quickjs-atom.h
quickjs-opcode.h
quickjs.c
test262.conf
test262_errors.txt
tests/test_language.js