iets3.opensource
iets3.opensource copied to clipboard
Type checks for equals/not-equals on lists should work also for other kinds of collections.
PR #233 fixed the type checking for EqualsExpression on lists. However, this should be also applied to other collection types as well. Currently, the other collection type in KernelF aside from lists are sets. But it should be extended in a way that all collection types can be compared with EqualsExpression and NotEqualsExpression if the base types are compatible.
What about Maps?
I missed the MapType because it isn't derived from the CollectionType abstract concept. But you're right, also maps should be comparable using equals/not-equals.