Cannot take slice of scope static array in @safe code
Steven Schveighoffer
schveiguy at gmail.com
Sun Feb 2 18:48:33 UTC 2020
On 2/2/20 1:32 PM, Dennis wrote:
> On Sunday, 2 February 2020 at 18:18:28 UTC, Steven Schveighoffer wrote:
>> scope should have been a type constructor.
>
> I feel the same way, I find const/immutable much easier to reason about
> than scope in its current state.
> Do you think scope as a storage class is fundamentally broken, or is it
> still sound, just not very granular?
I think it should be like const or immutable -- both storage class and
type constructor.
-Steve
More information about the Digitalmars-d-learn
mailing list