On Sun, 18 May 2014 17:48:45 -0700, Adam Wilson <[email protected]> wrote:

Addendum:

In the module Structs and Interfaces are wrapped with static if blocks in the following manner:

static if(DX110)
{
        //Enumerations
}
static if(DX111) { //...}
static if(DX112) { //...}

static if(DX110)
{
        //Structs
}
static if(DX111) { //...}
static if(DX112) { //...}

static if(DX110)
{
        //Interfaces
}
static if(DX111) { //...}
static if(DX112) { //...}

Could this be causing the problem, even if the struct and interface have matching static if qualifiers (in this case: DX110)?


An interesting note: If I use a struct or enum from further up the file in an interface it compiles fine, but if I use an interface further down the file in a struct, it throws an error.

--
Adam Wilson
GitHub/IRC: LightBender
Aurora Project Coordinator

Reply via email to