From c372c08dc940db58f1da9cadeb64b4cb3c837704 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 06:58:13 +0000 Subject: fix(classes): preserve method-only heap objects and document NEW Allocate at least one byte for method-only classes so their heap addresses remain usable through pointers. Complete constructor diagnostics, field-order and exception coverage, document construction and rebinding, and highlight NEW. Co-Authored-By: Claude Opus 5.5 --- include/cps/MemoryHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/cps/MemoryHandler.h b/include/cps/MemoryHandler.h index ded838b..2768ebe 100644 --- a/include/cps/MemoryHandler.h +++ b/include/cps/MemoryHandler.h @@ -8,7 +8,7 @@ class TypeSystem; class RuntimeCheck; class ExceptionHandler; -// Only explicit memory builtins own entries in this runtime's allocation list. +// Explicit memory builtins and keyword NEW own entries in this allocation list. // Internal STRING/ARRAY storage retains its existing lifetime rules. class MemoryHandler { llvm::LLVMContext &Context; -- cgit v1.3.1-4-g156e