Thread overview
[Issue 18479] does not match template declaration: syntax highlight error and enum not symbolized
Feb 20, 2018
Timothee Cour
Feb 20, 2018
Timothee Cour
Oct 10, 2020
Mathias LANG
February 20, 2018
https://issues.dlang.org/show_bug.cgi?id=18479

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com
           Severity|enhancement                 |minor

--
February 20, 2018
https://issues.dlang.org/show_bug.cgi?id=18479

--- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> ---
NOTE:
for context here's the enum:
```
enum SliceKind
{
    /// A slice has strides for all dimensions.
    universal,
    /// A slice has >=2 dimensions and row dimension is contiguous.
    canonical,
    /// A slice is a flat contiguous data without strides.
    contiguous,
}
```

I'd expect to see:
s/cast(SliceKind)2/contiguous or even better, SliceKind.contiguous

--
October 10, 2020
https://issues.dlang.org/show_bug.cgi?id=18479

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> ---
The syntax highlight thing is fixed, and the enum thing is a duplicate of 8044 for which I just opened a PR.

*** This issue has been marked as a duplicate of issue 8044 ***

--