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: [email protected]
Reporter: [email protected]
```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_`
```
--