Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArgumentException in conditional expressions #303

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Aug 18, 2023

Before this commit, the following exception might be thrown:

System.ArgumentException: Argument types do not match
at System.Linq.Expressions.Expression.Condition(Expression test, Expression ifTrue, Expression ifFalse, Type type)

Before this commit, the following exception might be thrown:
> System.ArgumentException: Argument types do not match  
>   at System.Linq.Expressions.Expression.Condition(Expression test, Expression ifTrue, Expression ifFalse, Type type)
Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

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

Thank you!

@kfcampbell kfcampbell merged commit b2104ef into octokit:main Aug 24, 2023
2 of 3 checks passed
@0xced 0xced deleted the fix-conditional-expression branch August 24, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants