Skip to content

Expanded UFCS functionality, to chain UFCS functions.#801

Open
vushu wants to merge 11 commits intodlang-community:masterfrom
vushu:adding_ufcs_function_chaining
Open

Expanded UFCS functionality, to chain UFCS functions.#801
vushu wants to merge 11 commits intodlang-community:masterfrom
vushu:adding_ufcs_function_chaining

Conversation

@vushu
Copy link
Copy Markdown
Contributor

@vushu vushu commented Mar 25, 2026

I was finally bothered with not being able to chain UFCS functions together.
This is the first implementation for this feature.
I expanded the UFCS capabilities quite a lot also validating if the chain is correct and handling overloaded functions

image

I'm still missing templated stuff, but I will save that for another time.

@vushu vushu requested a review from WebFreak001 March 25, 2026 23:51
@github-actions
Copy link
Copy Markdown

Thanks for your Pull Request and making D better!

This comment will automatically be updated to summarize some statistics in a few minutes.

@vushu
Copy link
Copy Markdown
Contributor Author

vushu commented Mar 27, 2026

UFCS function chaining right now doesn't consider lvalue and rvalue types, this requires some life time analysis, I made some attempts, but decided that I will save this for later.

@vushu vushu force-pushed the adding_ufcs_function_chaining branch from 438f5d2 to 5f599be Compare March 28, 2026 21:51
@vushu vushu force-pushed the adding_ufcs_function_chaining branch from d68fe0c to 1309f2b Compare April 6, 2026 13:11
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.

1 participant