Skip to content

Conversation

@younata
Copy link
Member

@younata younata commented Nov 5, 2024

When you nest beAKindOf and beAnInstanceOf inside of other matchers (such as beSuccess), you get a build error.

This changes the definition of those 2 matchers to allow nesting, without otherwise changing their logic.

In my opinion, this is more of a compiler bug than anything else, but fixing it on Nimble's end is simple enough.

@younata younata merged commit 856b940 into main Nov 5, 2024
13 of 16 checks passed
@younata younata deleted the allow_nesting_in_beakindof branch November 5, 2024 22:49
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.

2 participants