Closed robhagemans closed 2 years ago
Wow, I'd put this in the "rather obscure" category, for sure. I can't help wondering how on earth you found this one. :)
As almost always, by accident... Though in the context of issue #182 it's not quite so random.
I had missed #182. But yes, I do see the connection now.
Fixed by commit e2611007
As almost always, by accident... Though in the context of issue #182 it's not quite so random.
On Thu, 23 Jun 2022, 09:56 Rutger van Bergen, @.***> wrote:
Wow, I'd put this in the "rather obscure" category, for sure. I can't help wondering how on earth you found this one. :)
— Reply to this email directly, view it on GitHub https://github.com/robhagemans/pcbasic/issues/185#issuecomment-1164140325, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB25REXGTX3AQRW5HLW4FW3VQQRDFANCNFSM5ZROFEYA . You are receiving this because you were assigned.Message ID: @.***>
Test code:
What happens:
What should happen:
Background -
OPTION BASE
should fail withDuplicate Definition
if there are allocated arrays. However, if all arrays have beenERASE
d it should be allowed. PC-BASIC disallows it if at any point an array has been allocated