Search Issue Tracker

Active

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

-

-

Priority: 5Not yet prioritized for a release

-

Severity: 2No workaround

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

All about bugs

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