Skip to content

Recursively resolve template parameters#9667

Closed
boesing wants to merge 2 commits intovimeo:masterfrom
boesing:bugfix/issue-4193
Closed

Recursively resolve template parameters#9667
boesing wants to merge 2 commits intovimeo:masterfrom
boesing:bugfix/issue-4193

Conversation

@boesing
Copy link
Copy Markdown
Contributor

@boesing boesing commented Apr 18, 2023

Fixes #4193

}

/**
* @param non-empty-array<Atomic> $types
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried to add @psalm-assert-if-true so that we can provide non-empty-array<TKeyedArray> to get rid of the inline @var annotations above but that sadly didn't work but I dont have time to improve this for now.

}

if ($keyed_intersection_types === []) {
return ['object' => new TObjectWithProperties([], [], [], $object_from_docblock)];
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Seems that this actually leads to the issuebuffer test issue.
    will see how to improve that later this week

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing force-pushed the bugfix/issue-4193 branch from 064c890 to bdb8baf Compare June 22, 2023 21:33
@boesing boesing force-pushed the bugfix/issue-4193 branch 2 times, most recently from 7961a11 to 6831f4f Compare June 22, 2023 22:27
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing force-pushed the bugfix/issue-4193 branch from 6831f4f to 6d23727 Compare June 23, 2023 18:35
@boesing boesing closed this Sep 11, 2023
@boesing boesing deleted the bugfix/issue-4193 branch September 11, 2023 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Annotate "insert element" operation on TKeyedArray

1 participant