https://issues.dlang.org/show_bug.cgi?id=20065
Issue ID: 20065
Summary: Empty AliasSeq can't be used to form compiletime array
literal
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
import std.meta;
// Let me ask a question.
void main() {
// This works.
enum string[] array1 = [AliasSeq!("foo")];
// So why doesn't this?
enum string[] array2 = [AliasSeq!()];
}
--
