Skip to content

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jun 5, 2018

Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

I don't understand what this code is for. Removing it breaks nothing.
AFAIK ResolveReferencesToAliasesPass and ReplaceAliasByActualDefinitionPass already resolved all aliases at this point, so that this is dead code.

I'd be happy to add a test case if you think I missed something, that's very possible.

ping @stof @schmittjoh

@Tobion
Copy link
Contributor

Tobion commented Jun 5, 2018

I haven't see the log message with "reason: replaces alias" before. So it's likely unused or uncommon.

@fabpot
Copy link
Member

fabpot commented Jun 6, 2018

That's for master.

@nicolas-grekas
Copy link
Member Author

This code has already been removed from master, as part of #27471 :)

@nicolas-grekas nicolas-grekas deleted the di-deadcode branch June 6, 2018 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants