Skip to content

Fix bug: Interface type parameter merged with property is not unused - #21966

Merged
1 commit merged into
masterfrom
noUnusedTypeParameter_mergedWithProperty
Feb 15, 2018
Merged

1 commit merged into
masterfrom
noUnusedTypeParameter_mergedWithProperty

Conversation

@ghost

Copy link
Copy Markdown

Fixes #21931
The bug was because the type parameter T was merged with the property T. We considered this to be a case of the PropertySignature referencing itself.
Now we will only consider certain declaration kinds as potential self-references (since we've had a few bugs like this in the past.) I think I've got them all.

@ghost
ghost merged commit a133cec into master Feb 15, 2018
@ghost
ghost deleted the noUnusedTypeParameter_mergedWithProperty branch February 15, 2018 17:31
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jul 3, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant