@safe by default
Atila Neves
atila.neves at gmail.com
Mon Jun 3 15:49:59 UTC 2024
On Friday, 31 May 2024 at 17:45:44 UTC, jmh530 wrote:
> On Friday, 31 May 2024 at 16:36:08 UTC, Atila Neves wrote:
>> [...]
>
> 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.
Fair enough.
More information about the dip.ideas
mailing list