Bug: Accessing return value of type static array with length 1 or 2 by index.

deed none at none.none
Sat Apr 20 05:42:43 PDT 2013


Made available on dpaste:
http://dpaste.dzfl.pl/7b5c36f8

On dpaste, the struct with an int didn't compile. (Same error 
message)

It turns out that

     Template!(2, Sint).statArr()[0].writeln();

compiles with
$ dmd test.d -m64
but not with
$ dmd test.d


More information about the Digitalmars-d-learn mailing list