Hi list:
Am I missing something or is this broken?
flag := false.
d := Dictionary new.
d at: #one put: 1.
d includesKey: #one. true
d at: #one ifPresent: [ :value | flag:= true. value ]. nil
flag. false
I've noticed the following:
at:ifAbsent: works fine, and it uses includesKey:
at:IfPresent uses basicAt:, and it does not work.
Thanks in advance!