Momory hole fixed

This commit is contained in:
Michael Schimmel
2025-09-18 20:37:15 +02:00
parent d12c6c966c
commit 565742275c
2 changed files with 6 additions and 5 deletions
-1
View File
@@ -140,7 +140,6 @@ begin
case Address.Kind of
akUpvalue:
begin
// TODO Dieser Pfad wird nie erreicht!
Assert(Assigned(FCapturedUpvalues), 'Attempt to access an upvalue in a scope with no closure context.');
Assert(
(Address.SlotIndex >= 0) and (Address.SlotIndex < Length(FCapturedUpvalues)),