https://issues.dlang.org/show_bug.cgi?id=3345
--- Comment #17 from Walter Bright <bugzi...@digitalmars.com> --- > But having different error messages depending on the order of declarations is > definitely wrong. Probably, but it's a minor issue, as both messages are correct. --