[Issue 14552] New: SIGSEGV with compile construction nested class in predicate
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 7 02:39:53 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14552
Issue ID: 14552
Summary: SIGSEGV with compile construction nested class in
predicate
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: critical
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: japplegame at gmail.com
DMD crashes (SIGSEGV) when compiles this code:
import std.algorithm : map;
class Outer {
auto test() {
return [1, 2, 3].map!( j => new Inner );
}
class Inner {}
}
If to change declaration Inner class to static, code compiles well.
DMD64 D Compiler v2.067.1
CentOS 7 x86_64
--
More information about the Digitalmars-d-bugs
mailing list