Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
var/list/LO = list("", "")
var/list/L = list()
L[LO] = list("b"=1)
L.Remove(LO)
LOG << json_encode(L)
Expected Results:
[]
Actual Results:
{"/list":{"b":1}};
var/list/LO = list()
var/list/L = list(LO)
L.Remove(LO)
LOG << json_encode(L)
Expected:
[];
Actual:
[[]];
When does the problem NOT occur?
Only if you won't use lists as keys in dictionary or list