[Issue 14132] New: [ICE] error on arrays
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Feb 6 05:33:53 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14132
Issue ID: 14132
Summary: [ICE] error on arrays
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: minor
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: misugi-pwnu at live.fr
Hi,
I have an ICE when trying to compile this code :
module main;
import std.stdio;
void main(string[] args)
{
bool[][] components = [[false, false]];
bool[] masks = [true, false];
auto wat = (components[0][] & masks[])[];
}
C:\D\dmd2\windows\bin\dmd.exe -debug -gc "main.d" "Entity.d" "EntityManager.d"
"EventManager.d" "-IC:\D\dmd2\src\druntime\import" "-IC:\D\dmd2\src\phobos"
"-odobj\Debug"
"-ofC:\Users\robertg\Documents\Projets\Decs\Decs\bin\Debug\Decs.exe"
Internal error: e2ir.c 1902
Exit code 1
I don't remember what I was trying to do, but I tried to give you minimal
code.
--
More information about the Digitalmars-d-bugs
mailing list