In this example: const(AliasSeq!(int, int)) a; pragma(msg, typeof(a)); // (int, int)This kind of make sense, since AliasSeq is not a "single" type. But silently dropping const seems bad, the compiler should probably report an error/warning in this case?
const of AliasSeq is silently ignored
Yuxuan Shui via Digitalmars-d-learn Mon, 08 Apr 2019 13:00:47 -0700
- const of AliasSeq is silently... Yuxuan Shui via Digitalmars-d-learn
- Re: const of AliasSeq is... Ali Çehreli via Digitalmars-d-learn
- Re: const of AliasSeq is... Alex via Digitalmars-d-learn
- Re: const of AliasSeq is... Paul Backus via Digitalmars-d-learn
- Re: const of AliasSeq is... Steven Schveighoffer via Digitalmars-d-learn