Skip to content

[6.40] [df] Lift requirement to provide explicit return type in Vary expression#22077

Merged
vepadulano merged 3 commits intoroot-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_22028
Apr 28, 2026
Merged

[6.40] [df] Lift requirement to provide explicit return type in Vary expression#22077
vepadulano merged 3 commits intoroot-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_22028

Conversation

@root-project-bot
Copy link
Copy Markdown

Backport of #22028, requested by @vepadulano.

The expression gets a trailing return type injected of the equivalent necessary RVec type, only in case the user is not already providing it. As long as the expression returns a sequence of characters that is a valid way to instantiate an RVec constructor, the expression will compile.

The condition that triggers the injection of the trailing return type is if the user expression is of type '{...}', which could be a potential candidate constructor for an RVec.

(cherry picked from commit c56ec4e)
@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 10h 44m 47s ⏱️
 3 848 tests  3 831 ✅   1 💤 16 ❌
76 889 runs  76 741 ✅ 132 💤 16 ❌

For more details on these failures, see this check.

Results for commit 4806e89.

@vepadulano vepadulano merged commit 8273123 into root-project:v6-40-00-patches Apr 28, 2026
29 of 33 checks passed
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.

3 participants