Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Check in easy changes from WIP - #1521

Merged
MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:uncontroversial
Jul 14, 2016
Merged

MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:uncontroversial

Conversation

@MichalStrehovsky

@MichalStrehovsky MichalStrehovsky commented Jul 14, 2016 •

Copy link
Copy Markdown
Member
  • Do not ask generic parameters if they're runtime determined
  • Get variance information off of Canon/RuntimeDetermined types

Generic parameters will assert and it seems preferable for it to stay
that way.
* Canon is not variant.
* RuntimeDeterminedType has the same variance as the underlying canon
type (which probably means never variant either unless we allow variance
on generic structs)
@davidwrighton

Copy link
Copy Markdown
Member

LGTM

@MichalStrehovsky

Copy link
Copy Markdown
Member Author

@dotnet-bot test Windows_NT Release

@MichalStrehovsky
MichalStrehovsky merged commit 3d2454e into dotnet:master Jul 14, 2016
@MichalStrehovsky
MichalStrehovsky deleted the uncontroversial branch July 14, 2016 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants