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.
Comment #1 by k.hara.pg — 2015-02-14T15:55:58Z
(In reply to Misu from comment #0)
> Internal error: e2ir.c 1902
> Exit code 1
The ICE issue is properly fixed in git-head, and the code will report following error.
main.d(10): Error: array operation components[0][] & masks[] without destination memory not allowed