Closed phritz closed 4 years ago
Eep. It was the way this change makes it originally, then it was changed, here:
https://github.com/attic-labs/noms/pull/3557/files#diff-9eaeaf4074255abb6cfef108897c6261R163
... as part of introducing support for "nested" ediotrs (e.g., you can have a value in an editor itself be another editor).
Can you see if there was some reason to add this branch that is now broken (which apparently doesn't have a test) or if it was just a mistake to introduce it originally?
Thanks!
MapEditor was erroneously going to the underlying map if the edit value was nil. The edit value will be nil when it has been removed (and so we shouldn't go to the underlying map).