July 25, 2016 [Issue 16320] New: DMD segfault with T.classinfo.hashOf | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16320 Issue ID: 16320 Summary: DMD segfault with T.classinfo.hashOf Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: cauterite@gmail.com https://dpaste.dzfl.pl/082f070327f5 import std.stdio; class T {}; void main() { T foo; switch (typeid(foo).hashOf) { case T.classinfo.hashOf : writeln(`foo isa T`); break; default : break; }; }; segfault with DMD v2.071.1 -- |
Copyright © 1999-2021 by the D Language Foundation