@safe by default
jmh530
john.michael.hall at gmail.com
Fri May 31 17:45:44 UTC 2024
On Friday, 31 May 2024 at 16:36:08 UTC, Atila Neves wrote:
> [snip]
>
> It wouldn't compile because of the intrinsics? Wouldn't the fix
> then be to add attributes to them?
Actually it may compile in this case since it looks like they
already have attributes at the top of the version block for them.
I was trying to use this as an example of a file that has a mix
of functions without bodies and templated functions that would
have inference. It was meant as a criticism of your idea of
putting `@system:` at the top of files as solution to the
problem. As I said later in that post, putting `@system:` at the
top would force the templated functions to be `@system` too
instead of getting inferred. One solution is going function by
function as I said in my post, but just putting it at the top
isn't a solution.
More information about the dip.ideas
mailing list