https://issues.dlang.org/show_bug.cgi?id=17242
RazvanN <razvan.nitu1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1...@gmail.com Resolution|--- |INVALID --- Comment #2 from RazvanN <razvan.nitu1...@gmail.com> --- Indeed, according to the spec [1] this is invalid. [1] https://dlang.org/spec/function.html#nested-declaration-order --