On Friday, 31 March 2023 at 04:15:24 UTC, Salih Dincer wrote:
...has it always been possible for arrays to be used as if they
were ranges?
Playground is a very useful tool, it responds right away :)
Up to 2.078.3: Failure with output:
-----
onlineapp.d(4): Error: no property 'popFront' for type 'int[]'
onlineapp.d(6): Error: no property 'front' for type 'int[]'
-----
2.079.1 to 2.087.1: Failure with output:
-----
onlineapp.d(4): Error: no property `popFront` for type `int[]`
onlineapp.d(6): Error: no property `front` for type `int[]`
-----
Since 2.088.1: Failure with output:
-----
onlineapp.d(4): Error: no property `popFront` for type `int[]`,
perhaps `import std.range;` is needed?
onlineapp.d(6): Error: no property `front` for type `int[]`,
perhaps `import std.range;` is needed?
-----
SDB@79