https://issues.dlang.org/show_bug.cgi?id=20905
foerdi <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from foerdi <[email protected]> --- It seems that this depends on the definition order. A reduced example: ``` struct Foo { my_type index; } static if(true) { alias my_type = int; } ``` Error: undefined identifier my_type This example works: ``` static if(true) { alias my_type = int; } struct Foo { my_type index; } ``` --
