Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2019.4

2020.3

2020.3.20f1

Issue ID

1374811

Regression

No

Compiler error 'no implicit conversion between lambda expressions' when using lambdas in ternary operator

Scripting

-

Reproduction steps:
1. Open attached '1374811-sample' project
2. Observe the Console

Expected result: no errors are in the Console
Actual result: the 'CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'lambda expression' and 'lambda expression'' error is shown

Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.0a2
Not reproducible with: 2021.2.0a3, 2021.2.7f1, 2022.0a1, 2022.1.0b2

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.