We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd84a0b commit 8997c70Copy full SHA for 8997c70
lib/Runtime/Types/PathTypeHandler.cpp
@@ -1476,6 +1476,9 @@ namespace Js
1476
if (!(attributes[descriptor->GetDataPropertyIndex<false>()] & ObjectSlotAttr_Accessor))
1477
{
1478
// Setter without a getter; this is a stale entry, so ignore it
1479
+ // Just consume the slot so no descriptor refers to it.
1480
+ Assert(i == newTypeHandler->nextPropertyIndex);
1481
+ ::Math::PostInc(newTypeHandler->nextPropertyIndex);
1482
continue;
1483
}
1484
Assert(oldTypeHandler->GetSetterSlotIndex(descriptor->GetDataPropertyIndex<false>()) == newTypeHandler->nextPropertyIndex);
0 commit comments