digitalmars.D.bugs - [Issue 17502] New: [The D Bug Tracker]
- via Digitalmars-d-bugs (30/30) Jun 14 2017 https://issues.dlang.org/show_bug.cgi?id=17502
https://issues.dlang.org/show_bug.cgi?id=17502 Issue ID: 17502 Summary: [The D Bug Tracker] Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: normal Priority: P3 Component: dmd Assignee: nobody puremagic.com Reporter: drug2004 bk.ru If a method has out contract it causes dmd segfault. ``` class Foo { auto foo() in {} //out {} // uncomment it to get dmd segfault body{} } void main() { auto foo = new Foo(); foo.foo(); } ``` --
Jun 14 2017