I am trying to cast upwards Map to Map. It makes sense for the cast to work, as both Field and Val
Map
Field and Val
I think that would be possible only if you define the
Map<Field, Value>
as
Map<? extends Mirror, ? extends Mirror>
But otherwise, it's not the same thing.