Re: Internal error: ../ztc/cgcs.c

2013-04-24 Thread Namespace
I think this is already fixed in the current dmd 2.063alpha. Bye, bearophile You walking encyclopedia. ;) Good to know.

Re: Internal error: ../ztc/cgcs.c

2013-04-24 Thread bearophile
Namespace: import std.stdio; int[2] getSize() { return [42, 23]; } int width() { return getSize()[0]; } void main() { writeln("Hello world!"); } Compilation output: Internal error: ../ztc/cgcs.c 343 I think this is already fixed in the current dmd

Re: Internal error: ../ztc/cgcs.c

2013-04-24 Thread Timon Gehr
On 04/24/2013 10:25 PM, Namespace wrote: import std.stdio; int[2] getSize() { return [42, 23]; } int width() { return getSize()[0]; } void main() { writeln("Hello world!"); } Compilation output: Internal error: ../ztc/cgcs.c 343 http://dpaste.1azy.net/a

Internal error: ../ztc/cgcs.c

2013-04-24 Thread Namespace
import std.stdio; int[2] getSize() { return [42, 23]; } int width() { return getSize()[0]; } void main() { writeln("Hello world!"); } Compilation output: Internal error: ../ztc/cgcs.c 343 http://dpaste.1azy.net/a1897e84 I don't know if this

Re: Internal error: ..\ztc\cgcs.c 352

2011-11-22 Thread Trass3r
Please check if your case is equal to http://d.puremagic.com/issues/show_bug.cgi?id=4414

Internal error: ..\ztc\cgcs.c 352

2011-11-22 Thread Nrgyzer
Hi guys, I get an internal error in \ztc\cgcs.c 352 when I try to do the following: HashMap!(uint, float[2]) example; void main() { example = new HashMap!(uint, float[2])(); example.set(0, [10.f, 20.f]); example.set(10, [100.f, 200.f]); foreach (ref c; example.keys) std.stdio.writel