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

rikki cattermole rikki at cattermole.co.nz
Sun Jul 26 19:27:13 UTC 2020


Old frontend:

Up to      2.060  : Failure with output: onlineapp.d(2): Error: valid 
attribute identifiers are @property, @safe, @trusted, @system, @disable 
not @nogc
2.061   to 2.065.0: Failure with output:
-----
onlineapp.d(2): Error: user defined attributes cannot appear as postfixes
onlineapp.d(2): Error: semicolon expected following function declaration
onlineapp.d(2): Error: Declaration expected, not 'return'
onlineapp.d(2): Error: unrecognized declaration
-----

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


More information about the Digitalmars-d-learn mailing list