Elixir allows Map functions to manipulate structs

I’m surprised dialyzir didn’t catch it, this seems like a case it would catch?