August 04, 2010 Re: cannot evalute mixin(uuid("bla")) at compile time | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer Attachments:
| On Wed, Aug 4, 2010 at 22:00, Steven Schveighoffer <schveiguy@yahoo.com>wrote:
>
>>>> code i'm not sure what the
>>>>
>>>> is(char[1 + Range.empty]))
>>>>
>>>>
>>>
>>> Hm..., then shouldn't that be is(typeof(...))?
>
>
But char[1 + ...] is already a type, no? I thought typeof() was to extract
type from an expression?
|
August 04, 2010 Re: cannot evalute mixin(uuid("bla")) at compile time | ||||
---|---|---|---|---|
| ||||
Posted in reply to Philippe Sigaud | On Wed, 04 Aug 2010 17:31:30 -0400, Philippe Sigaud <philippe.sigaud@gmail.com> wrote:
> On Wed, Aug 4, 2010 at 22:00, Steven Schveighoffer <schveiguy@yahoo.com>wrote:
>
>>
>>>>> code i'm not sure what the
>>>>>
>>>>> is(char[1 + Range.empty]))
>>>>>
>>>>>
>>>>
>>>> Hm..., then shouldn't that be is(typeof(...))?
>>
>>
> But char[1 + ...] is already a type, no? I thought typeof() was to extract
> type from an expression?
Yes, you are right, I'll just shut up now :)
-Steve
|
Copyright © 1999-2021 by the D Language Foundation