On 2015-01-27 21:31, Steven Schveighoffer wrote:
For instance, if one library tags it as pure, but another does not. I think an error in that case is warranted.
Yeah. Do the compiler need to look at the parameters as well? Even if you put const or immutable, it won't make difference on the C side. But it will probably be confusing if one is declared const and another is not.
-- /Jacob Carlborg