Provide a situation where @noreturn attribute would mean anything other than telling the compiler to assume that the functionOn 18 December 2012 16:43, Peter Alexander <peter.alexander.au@gmail.com> wrote:
On Tuesday, 18 December 2012 at 15:19:58 UTC, Iain Buclaw wrote:
Please, no!Should we take this as an opportunity for other compiler maintainers to implement their own compiler-specific predefined attributes?
Suppose GDC implements @noreturn (or whatever other attribute)
Later, LDC implements @noreturn separately with slightly different semantics.
We now end up in a situation where @noreturn cannot be used portably, and neither compiler developer has incentive to change (whoever changes breaks their users code).
cannot return, and I might please you on *that* particular attribute.