New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflow binding T? in constraint #26294

Closed
cston opened this Issue Apr 20, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@cston
Member

cston commented Apr 20, 2018

Compile with nullable reference types:

interface I<T> { }
class C
{
    static void F<T>() where T : class, I<T?> { }
}

@cston cston changed the title from StackOverflow binding `T?` in constraint to StackOverflow binding T? in constraint Apr 20, 2018

@cston cston self-assigned this Apr 20, 2018

@jcouv jcouv added this to the 16.0 milestone Apr 20, 2018

@cston cston closed this Apr 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment