[Issue 19118] New: Types defined in the template specification 'if' are not usable in the template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 26 16:23:47 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19118
Issue ID: 19118
Summary: Types defined in the template specification 'if' are
not usable in the template
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: yshuiv7 at gmail.com
template Test(T) if (is(T == Nullable!S, S)) {
alias tmp = S; // S is undefined
}
This is quite inconvenient.
--
More information about the Digitalmars-d-bugs
mailing list