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
summonInline use should be equivalent to a using clause.
That is not the case. When an argument is inferred for a using clause it can/must be part of type inference of the type parameters of the method. On the other hand with an inline method, the type parameters are inferred first and then the code is inlined and then the summonInline looks for the implicit based on the type that has already been determined.
Possibly related to #12379
@michelou
There are still differences between summonInline and a using argument.
Compiler version
3.0 master branch
Minimized code
Output
Expectation
summonInline
use should be equivalent to ausing
clause.The text was updated successfully, but these errors were encountered: