You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not and ER, that is well a bug, according to https://dlang.org/spec/const3.html#const_type> [...]. Each applies transitively to all subtypes.
The problem is that the DMD class `TypeTuple` (in mtype.d) does not override `.constOf`, `immutableOf()`, etc.
Tagging as accept-invalid given that
```dalias AliasSeq(T...) = T;const(AliasSeq!(int, int)) a;void main(){ a[0] = 1;} ```
should be reject just like when `const` is variable storage class.
Yuxuan Shui (@yshui) reported this on 2019-04-08T23:09:51Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=19794
CC List
Description
The text was updated successfully, but these errors were encountered: