Template error with gdc-10 but not with latest dmd and ldc

Iain Buclaw ibuclaw at gdcproject.org
Sun Jul 26 20:32:55 UTC 2020


On Sunday, 26 July 2020 at 19:27:13 UTC, rikki cattermole wrote:
> 2.066.0 to 2.078.1: Failure with output: onlineapp.d(7): Error: 
> template instance add_long_n0!void does not match template 
> declaration add_long_n0(alias T = void)(long x)
> 2.079.1 to 2.086.1: Failure with output: onlineapp.d(7): Error: 
> template instance `add_long_n0!void` does not match template 
> declaration `add_long_n0(alias T = void)(long x)`
> Since      2.087.1: Success and no output

This feature?

https://dlang.org/changelog/2.087.0.html#template_alias_matches_basic_types


More information about the Digitalmars-d-learn mailing list