Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adamgfraser
Copy link
Contributor

Resolves #7631.

@adamgfraser adamgfraser requested review from jdegoes and vigoo January 16, 2023 07:49
Copy link
Contributor

@vigoo vigoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I can decide if this causes any other issues :) But as the tests pass...

@adamgfraser
Copy link
Contributor Author

I think since equality is defined on all types there is no need to type cast here. This is actually one area where the compiler helps us so if we try to do an operation that is only defined on a type like a Boolean the compiler won't let us unless it knows it is or we cast it.

@vigoo
Copy link
Contributor

vigoo commented Jan 16, 2023

Makes sense

@jdegoes jdegoes merged commit 94f9ab3 into zio:series/2.x Jan 16, 2023
@adamgfraser adamgfraser deleted the 7631 branch January 16, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception during macro expansion in ZIO test with ZIO 2.0.5

3 participants