https://issues.dlang.org/show_bug.cgi?id=17502
--- Comment #4 from [email protected] --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/99b7e49ad99ac2cb3e64e053a45e4663271ffae7 Fix issue 17502: Allow no parameters in out contract for auto methods Even in case of non-void methods, their out contract should be able to accept no arguments. For the methods with auto return type, there was oversight where one argument to `out` was always assumed. https://github.com/dlang/dmd/commit/620acd53b63bfede6179a1b6a5c7d1b01a14ed0e Merge pull request #6906 from Burgos/out_param Fix issue 17502: Allow no parameters in out contract for auto methods --
