Thread overview
Regression with alias parameter matching
May 18, 2019
H. S. Teoh
May 18, 2019
Exil
May 18, 2019
https://issues.dlang.org/show_bug.cgi?id=19884

caused by dmd PR #9769 (fix for bug 9029).

This broke one of my projects in a pretty severe way -- deep down in low-level template mixin code that's very difficult to work around.  :-(


T

-- 
Music critic: "That's an imitation fugue!"
May 18, 2019
On Saturday, 18 May 2019 at 15:18:21 UTC, H. S. Teoh wrote:
> https://issues.dlang.org/show_bug.cgi?id=19884
>
> caused by dmd PR #9769 (fix for bug 9029).
>
> This broke one of my projects in a pretty severe way -- deep down in low-level template mixin code that's very difficult to work around.  :-(
>
>
> T

Looks like it was known it would break code? It broke code in Phobos at least.

Pull Request: https://github.com/dlang/dmd/pull/9769
May 19, 2019
On Saturday, 18 May 2019 at 15:18:21 UTC, H. S. Teoh wrote:
> https://issues.dlang.org/show_bug.cgi?id=19884
>
> caused by dmd PR #9769 (fix for bug 9029).
>
> This broke one of my projects in a pretty severe way -- deep down in low-level template mixin code that's very difficult to work around.  :-(
>
>
> T

D's internal infrastructure (druntime, phobos, tools, dub, ...) + the list of projects on BuildKite [0] are the "only" automated gatekeepers for breaking changes. Unless a project is added to this list, we can't guarantee that there won't be any breaking changes, as we have no practical way to ensure that.

The fact that your library broke means that it is particularly interesting as apparently it is not covered by this extended test suite. If possible, it would be great if you can either:
A) Reduce the part of your code that broke and add it to the dmd test suite.
B) Publish the whole or part of your library on GitHub and open a pull request to update the BuildKite list [0].

It may sound strange, but this is the only way I can see D getting more stable over the years: the more D projects are available open-source and the more of them are added to [0], the less chance is that a breaking change will go undetected.

P.S. Thanks for testing git HEAD ;)

Cheers,
Petar

[0]: https://github.com/dlang/ci/blob/338a692013b9889ceaf2bbc726be94e259ff9708/buildkite.sh#L110