Summary: | Assignment from array via a property getter suppresses value of used element in any reference to the array | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Joshua Coppersmith <joshua_coppersmith> |
Component: | BASIC | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | joshua_coppersmith |
Priority: | medium | ||
Version: | 7.2.2.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | QA:needsComment | ||
Crash report or crash signature: | Regression By: | ||
Attachments: | Simple demonstration following steps to reproduce |
Description
Joshua Coppersmith
2021-12-05 20:00:05 UTC
Created attachment 176715 [details]
Simple demonstration following steps to reproduce
As outlined in the code remarks, assigning to the variable Execution will trigger a set of cases demonstrating the concern.
LeslieS points out that this behavior is caused by Set rather than Let in the property setter. Changed to Enhancement to see if BASIC could throw an error under these circumstances, since they could arise by Set vs. Let in setter or by Object vs. non-Object in Variant holding the array itself. |