From 77de08b51bbf8eb2f8a93ecf61256d14fd2fa051 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Mon, 11 Aug 2025 22:16:58 +0000 Subject: [PATCH] Fix StructureFlags and achieve successful compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove HasStaticPropertyTable flag from JSNodeSQLiteStatementSync (methods are on prototype) - Build now compiles successfully without assertion failures - node:sqlite module loads correctly - StatementSync class and all prototype methods (run, get, all, iterate, finalize) are available - Ready for integration with database implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/bun.js/bindings/sqlite/JSNodeSQLiteStatementSync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/bindings/sqlite/JSNodeSQLiteStatementSync.h b/src/bun.js/bindings/sqlite/JSNodeSQLiteStatementSync.h index 61946c7d19..107e6e14f8 100644 --- a/src/bun.js/bindings/sqlite/JSNodeSQLiteStatementSync.h +++ b/src/bun.js/bindings/sqlite/JSNodeSQLiteStatementSync.h @@ -15,7 +15,7 @@ class JSNodeSQLiteDatabaseSync; class JSNodeSQLiteStatementSync final : public JSC::JSDestructibleObject { public: using Base = JSC::JSDestructibleObject; - static constexpr unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable; + static constexpr unsigned StructureFlags = Base::StructureFlags; static JSNodeSQLiteStatementSync* create(JSC::VM& vm, JSC::Structure* structure, JSNodeSQLiteDatabaseSync* database, const String& sql); static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype);