dmd 1.074 and 2.059 release

Alex Rønne Petersen xtzgzorex at gmail.com
Fri Apr 13 18:47:26 PDT 2012


On 14-04-2012 03:45, Alex Rønne Petersen wrote:
> On 14-04-2012 02:13, Andrej Mitrovic wrote:
>> On 4/14/12, Alex Rønne Petersen<xtzgzorex at gmail.com> wrote:
>>> That sounds like an error in TDPL. AFAIK nothrow means "may only throw
>>> Error".
>>
>> But Error is a subclass of Throwable.
>
> Which is why I said it's probably an error in TDPL. :P
>

I.e. nothrow specifically lets you throw anything deriving from Error, 
nothing else. Anywhere else, you can throw whatever derives from Throwable.

-- 
- Alex


More information about the Digitalmars-d-announce mailing list