acton icon indicating copy to clipboard operation
acton copied to clipboard

dict corrupted by certain insertion/deletion order

Open ddjoh opened this issue 1 year ago • 1 comments

Acton Version

0.21.0.20240508.13.27.9

Steps to Reproduce and Observed Behavior

actor main(env):
    d: dict[int, str] = {}
    d[1] = "one"
    d[2] = "two"
    del d[2]
    d[3] = "three"
    del d[1]
    print(str(d))
    print(str(d[3]))
    env.exit(0)

Expected Behavior

{3:'three'}
three

ddjoh avatar May 08 '24 13:05 ddjoh

@sydow I reckon this is for you :)

plajjan avatar May 13 '24 06:05 plajjan