You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual Behavior:
This code snippet doesn't compiles.
error CS0121: The call is ambiguous between the following methods or properties: “NullExt.Some(T?, Action)” and “NullExt.Some(T, Action)”
Change
i.Some(_ =>Console.Write("some"));
to
i.Some<int>(_ =>Console.Write("some"));
it compiles, So i think it's a type inference bug. What do you think of this?
The text was updated successfully, but these errors were encountered:
Version Used: Visual Studio 2017
Steps to Reproduce:
Expected Behavior:
This code snippet compiles.
Actual Behavior:
This code snippet doesn't compiles.
error CS0121: The call is ambiguous between the following methods or properties: “NullExt.Some(T?, Action)” and “NullExt.Some(T, Action)”
Change
to
it compiles, So i think it's a type inference bug. What do you think of this?
The text was updated successfully, but these errors were encountered: