Repository navigation
Keep the intersection of a template return type resolved to object - #14684
Merged
Merged
Conversation
Contributor
✅ Performance: unchanged · Types: decreased
How to read this table
✅ symfony: issues +0 −2Memory 3 628 → 3 628 MB (<0.1 %) · Wall 257.0 → 261.6 s (+1.8 %) Weighted 100 580 → 100 574 (−6, −0.01 %): L3 −2
Removed (2)
head 98101fd · base 81915ee (merge-base) · workflow run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolving a
T&Stubreturn type whoseTis only known asobject(e.g. a mixedclass-string<T>argument) shiftedStubout of the template parameter in the method's storage, so every later call of the method in the same process returnedTwithout the intersection:The result depended on which files a process analyzed before, so it changed with
--threads(on symfony/ai, 355 falseUndefinedInterfaceMethodwith one thread, 71 with four).