digitalmars.D.bugs - [Issue 22156] New: Can't use all-types slice of not-all-types
- d-bugmail puremagic.com (25/25) Jul 28 2021 https://issues.dlang.org/show_bug.cgi?id=22156
https://issues.dlang.org/show_bug.cgi?id=22156 Issue ID: 22156 Summary: Can't use all-types slice of not-all-types AliasSeq as type Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: normal Priority: P3 Component: dmd Assignee: nobody puremagic.com Reporter: Ajieskola gmail.com ```d import std; AliasSeq!(int, 0)[0..1] a; ``` This should compile, but it does not: ``` app.d(2): Error: `AliasSeq!(int, 0)` is used as a type app.d(2): Error: can only slice tuple types, not `_error_` ``` --
Jul 28 2021