[Issue 13919] New: typeof(T.init[].front.init) crashes compiler for T = std.container.Array!int
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Dec 31 05:05:56 PST 2014
https://issues.dlang.org/show_bug.cgi?id=13919
Issue ID: 13919
Summary: typeof(T.init[].front.init) crashes compiler for T =
std.container.Array!int
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: tobias at pankrath.net
Tested with ~master:
---
import std.container;
alias T = Array!int;
pragma(msg, typeof(T.init[].front.init));
/tmp/test.d(5): called from here:
Array(RefCounted(RefCountedStore(null))).opSlice()
dmd: interpret.c:752: Expression* ctfeInterpret(Expression*): Assertion
`global.errors != olderrors' failed.
zsh: abort (core dumped) ~/projekte/d/dmd/src/dmd /tmp/test.d
--
More information about the Digitalmars-d-bugs
mailing list