[Issue 15278] New: Compile-time segfault when compiling code with alias this
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Nov 2 15:02:00 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15278
Issue ID: 15278
Summary: Compile-time segfault when compiling code with alias
this
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: andrei at erdani.com
dmd v2.069-devel-5db650f segfaults while compiling this code with -unittest:
module persistent_list;
import std.experimental.allocator;
struct List(T)
{
private IAllocator allocator;
private List!T unqualifiedCopy() const;
alias unqualifiedCopy this;
}
void main()
{
List!(immutable int) lst;
}
--
More information about the Digitalmars-d-bugs
mailing list