https://issues.dlang.org/show_bug.cgi?id=13690
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Curiously Recurring |Curiously Recurring |Template Pattern causes |Template Pattern |segfault. | --- Comment #1 from Kenji Hara <[email protected]> --- 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. --
