diff --git a/lib/Runtime/Types/PathTypeHandler.cpp b/lib/Runtime/Types/PathTypeHandler.cpp index 9293902ded0..57cd0480c86 100644 --- a/lib/Runtime/Types/PathTypeHandler.cpp +++ b/lib/Runtime/Types/PathTypeHandler.cpp @@ -1476,6 +1476,9 @@ namespace Js if (!(attributes[descriptor->GetDataPropertyIndex()] & ObjectSlotAttr_Accessor)) { // Setter without a getter; this is a stale entry, so ignore it + // Just consume the slot so no descriptor refers to it. + Assert(i == newTypeHandler->nextPropertyIndex); + ::Math::PostInc(newTypeHandler->nextPropertyIndex); continue; } Assert(oldTypeHandler->GetSetterSlotIndex(descriptor->GetDataPropertyIndex()) == newTypeHandler->nextPropertyIndex);