Fix CommonType template to no longer assume typeof(type) == _error_#7663
Fix CommonType template to no longer assume typeof(type) == _error_#7663UplinkCoder wants to merge 1 commit intodlang:masterfrom
Conversation
This enables us to introduce a type of types in the future
|
Thanks for your pull request, @UplinkCoder! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#7663" |
|
@andralex you might be interested in this one. |
|
The build seems to fail because of template emission bugs ... |
|
A fix should come with a test case, I cannot tell from the context why the clause that follows does not already cover the case added. |
|
What @thewilsonator said. |
|
There can't be a testcase unless typefunctions are in a preview switch
…On Tue, Oct 27, 2020, 7:59 PM Atila Neves ***@***.***> wrote:
What @thewilsonator <https://github.com/thewilsonator> said.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7663 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVWSCGQSUJRAVTLJJCGHYTSM4KA5ANCNFSM4SQ7EGAA>
.
|
|
Then there's no reason for this to exist right now. |
|
It'd be nicer to fix it for the case before.
Because that makes it more general
…On Tue, Oct 27, 2020, 8:48 PM Atila Neves ***@***.***> wrote:
Then there's no reason for this to exist right now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7663 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVWSCD5TC5OPHSVHGNOPZLSM4PZBANCNFSM4SQ7EGAA>
.
|
Then raise a PR with a functioning preview switch for it. If you raise small and intermediate PRs, that's only useful if they have intrinsic values, or if they implement a small part of a much larger feature that is already visible to the reviewer. |
This enables us to introduce a type of types in the future