https://issues.dlang.org/show_bug.cgi?id=14073

--- Comment #3 from [email protected] ---
(In reply to monkeyworks12 from comment #2)
> template sa(T, T[] array)
> if (isRValue!array)
> {
>     enum sa = array;
> }
> 
> auto staticArr = sa![1, 2];

`enum sa = array` should be `enum T[array.length] sa = array`.

--

Reply via email to