https://issues.dlang.org/show_bug.cgi?id=12844 --- Comment #2 from Orvid King <blah38621 at gmail.com> --- Also, dat and planePattern in the foreach loop should actually be swapped, but it never gets to the point where it actually reports this error. --