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

Fail compilation of generic virtual methods - #1084

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:gvmNYI
Apr 5, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:gvmNYI

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

Before this change, generic virtual methods would compile, but since we
don't do any expansion, they would cause linker failures downstream.
Root causing the linker failure is not possible without debugging the
compiler.

Making the compiler error out instead.

Before this change, generic virtual methods would compile, but since we
don't do any expansion, they would cause linker failures downstream.
Root causing the linker failure is not possible without debugging the
compiler.

Making the compiler error out instead.
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

@nattress PTAL

@nattress

nattress commented Apr 5, 2016

Copy link
Copy Markdown
Contributor

LGTM. I hope this doesn't make things too annoying for building multi-file libraries, but I can work around.

@MichalStrehovsky
MichalStrehovsky merged commit ebbdfec into dotnet:master Apr 5, 2016
@MichalStrehovsky
MichalStrehovsky deleted the gvmNYI branch April 5, 2016 02:27
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