Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

0

Found in

2017.2.0f3

Issue ID

970493

Regression

No

Error CS0266 when using Implicit operator to convert Nullable<> struct to non-nullable

Mono

-

Steps to reproduce:
1. Open attached “ImplicitConversion.zip” project
2. Observe Console tab

Expected results:
Script is compiled and no errors are shown
Actual results:
Script is not compiled and Error CS0266 is shown

Reproduced in: 2018.1.0a5, 2017.3.0b10, 2017.2.0p2, 2017.1.2p3, 2017.1.0b1, 5.6.4p3, 5.5.5p1, 5.5.0a6

Reproduced on .NET 3.5 and .NET 4.6

Fixed in: 2018.2.0a5, 2018.1.0b12

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.