Luís Ferreira
Luís Ferreira
> @ljmf00 What is the basis of your assumption that this should be illegal? You are doing pointer arithmetic in @System code, it is not the job of the compiler...
Adding Spec PR tag to clarify `scope` attribute applied to constructors.
> How does this improve the error message - the import path is unrelated to the location of the import? Please include such information in the commit title / message...
@WalterBright rebase
Ping @RazvanN7 and @ibuclaw
Thanks! I look forward to seeing this implemented on the compiler, especially to improve complex library templated structures. I think we should discuss further how we use the existing protocols...
> hm, I'm torn. I like this PR, but I do not like template constraints, so I think we shouldn't add something that makes using them easier. What do you...
> @ljmf00 sure, have a read here [burner/range_primitives_helper@`master`/README.md](https://github.com/burner/range_primitives_helper/blob/master/README.md?rgh-link-date=2022-01-12T19%3A48%3A44Z) I can't see the benefit of your approach. Using `static if` to simulate constraint overloads is just a workaround to a language...
> @ljmf00 I should point out that this proposal will not actually help with `SumType`—the errors that are hidden there are ones that occur inside `__traits(compiles)`, not template constraints. >...
> I don't think it's reasonable to allow turning `@safe pure` functions into essentially bad PRNGs and make potential purity based optimizations into undefined behavior magnifiers. I'm sure there may...