Skip to content

Instantly share code, notes, and snippets.

@yanok
Created December 6, 2023 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanok/42f01c1cbdb5ac35643c1cd34d791b0d to your computer and use it in GitHub Desktop.
Save yanok/42f01c1cbdb5ac35643c1cd34d791b0d to your computer and use it in GitHub Desktop.
class C<T> {}
T? f<T>(C<T> c) => null;
int? g(C<int?> c) => f(c);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment