Created attachment 1039 [details] Test case file The attached code will cause DMD 2.054 and 2.055 to have an internal error when compiled with `dmd test2.d -O`. The internal error happens after the semantic passes and after, when compiled with -v, dmd reports "function createBase". Thanks to DustMite for reducing the code from 4k lines.
Appears there was a fix in 2.057. Thank you!