[Issue 13690] Curiously Recurring Template Pattern
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jan 19 07:34:53 PST 2015
https://issues.dlang.org/show_bug.cgi?id=13690
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Curiously Recurring |Curiously Recurring
|Template Pattern causes |Template Pattern
|segfault. |
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
Segfault doesn't occur with git-head (2.067alpha), and the code reports
following errors:
test.d(10): Error: expression hasMember!(Foo1, "rotation") of type void does
not have a boolean value
test.d(10): Error: template instance std.traits.hasMember!(Foo1, "rotation")
error instantiating
test.d(28): instantiated from here: Bar!(Foo1)
test.d(10): Error: expression hasMember!(Foo2, "rotation") of type void does
not have a boolean value
test.d(10): Error: template instance std.traits.hasMember!(Foo2, "rotation")
error instantiating
test.d(32): instantiated from here: Bar!(Foo2)
Remove "segfault" word from the subject.
--
More information about the Digitalmars-d-bugs
mailing list