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
{{ message }}
Repository navigation
C# Breaking change diagnosing constraint on static type as type arg in dynamic invocation #511
changed the title [-]C# Breaking change diagnosing constraint on static type as type arg[/-][+]C# Breaking change diagnosing constraint on static type as type arg in dynamic invocation[/+]on Feb 14, 2015
Activity
gafter commentedon Feb 14, 2015
Hey compat council: @AnthonyDGreen @DustinCampbell @ljw1004 @MadsTorgersen @gafter @srivatsn @theoy
We should decide what to do here. FYI I already have a fix prepared as the reversion to dev11 behavior is a natural consequence of my change for #345.
[-]C# Breaking change diagnosing constraint on static type as type arg[/-][+]C# Breaking change diagnosing constraint on static type as type arg in dynamic invocation[/+]Move enforcement of "no static type as type argument" to constraint v…
Link to related issues dotnet#344, dotnet#345, dotnet#511
AlekseyTs commentedon Feb 20, 2015
@gafter, do you consider this issue addressed?
gafter commentedon Feb 20, 2015
I believe Roslyn is compatible with the native compiler in this area now due to checkin #513, that there is a test for this, and that this is also documented in the compiler spec section of the docs (https://github.com/dotnet/roslyn/blob/master/docs/compilers/CSharp/Static%20Type%20Constraints.md). I didn't realize the bug was not closed. I assigned this to you for verification, please.
gafter commentedon Feb 22, 2015
Closing, as this is fixed. Just needs verification.
AlekseyTs commentedon Feb 27, 2015
Verified
Merge pull request #511 from dotnet/locfiles/0127e690-59b1-47c4-b06e-…