https://issues.dlang.org/show_bug.cgi?id=24265
Paul Backus <snarwin+bugzi...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snarwin+bugzi...@gmail.com --- Comment #1 from Paul Backus <snarwin+bugzi...@gmail.com> --- Introduced by DMD PR 14142: https://issues.dlang.org/show_bug.cgi?id=24265 Looks like maybe this isn't a behavioral bug, but a bad error message: the actual problem is that `ref int delegate() return` does not convert to `ref int delegate()`, but the compiler does not print the `return` attribute when printing the delegate's type. --