Final by default?
Steven Schveighoffer
schveiguy at yahoo.com
Thu Mar 13 07:55:47 PDT 2014
On Thu, 13 Mar 2014 10:29:48 -0400, Daniel Murphy
<yebbliesnospam at gmail.com> wrote:
> "Steven Schveighoffer" wrote in message
> news:op.xcnyu21leav7ka at stevens-macbook-pro.local...
>
>> I think it would work without issue.
>
> Sure, probably.
>
>> In fact, I wonder if that shouldn't be a "feature" of the array runtime
>> anyway.
>
> It breaks the type system when you use it with immutable.
This is true. We could restrict it only to mutable arrays (I get the type
in via its typeinfo).
-Steve
More information about the Digitalmars-d
mailing list