Open ivanbasov opened 7 years ago
Tracked here
This issue is different from the linked issue. I'm modifying the integration test to use this expression:
(Function(val As Integer) (val + val))(1)
The original expression (where val
is not typed as Integer
) cannot be evaluated by the debugger expression evaluator. This issue tracks that specific failure.
Attempted to migrate the test to xUnit. Still see the same issue. That is, I can reproduce it locally without any frameworks. It is not caused by Tao. It seems to be a regression in VB compiler services.
Here is a repro scenario:
?(Function(val) (val + val))(1)
in the immediate window. Expected2
Actualerror BC35000: Requested operation is not available because the runtime library function 'Microsoft.VisualBasic.CompilerServices.Operators.AddObject' is not defined.
?(Function(val) (val + val))(1)
will work in the immediate window.Trying to add a reference explicityl, you would get the following message
Based on https://github.com/dotnet/roslyn/issues/8724 Will migrate tests for #8724 from Tao to xUnit but keep the failing one skipped for a while.