How to tackle multiple nested renames with both matchingSome and everyItem #717
-
Hello
Compilation of code above fails with error:
Notice double To make this code compile it is enough to either remove Option from classes definition (and keep double nested withFieldRenamed but without matchingSome) or make fieldA and fieldB have the same name (have single withFieldRenamed). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It's a bug, I believe that here and additional check would have to be made, to check if non- |
Beta Was this translation helpful? Give feedback.
It's a bug, I believe that here and additional check would have to be made, to check if non-
.field
-ending path (Option/Either/Collection/Map) is a valid use case (in past it wasn't and they had to be enabled on an allow-list-like fashion).