Recursive comparison for iterable assertions not working across different classes? #3921
Answered
by
joel-costigliola
ryanmckaytx
asked this question in
Q&A
|
Hi, Where Is there a way to actually recursively compare iterables of different types? |
Answered by
joel-costigliola
Aug 29, 2025
Replies: 1 comment 1 reply
|
The example does not compile indeed, this has been reported and fixed with #3837. The generic types won't let you compile when types are different but as a workaround you could cast your collections to non generic ones, I haven't tried it yet but I think that could work |
1 reply
Answer selected by
ryanmckaytx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example does not compile indeed, this has been reported and fixed with #3837.
The generic types won't let you compile when types are different but as a workaround you could cast your collections to non generic ones, I haven't tried it yet but I think that could work