but on other hand defer triggered on panic too, maybe something with signals

четверг, 17 ноября 2016 г., 22:11:23 UTC+4 пользователь Nikita Loskutov 
написал:
>
> I'm not sure whether it makes sense, because I think the program can't 
> handle defer anyway, maybe something with recovery
>
> четверг, 17 ноября 2016 г., 19:46:07 UTC+4 пользователь Michael Jones 
> написал:
>>
>> Yes…that’s the point….an infinite defer that would have printed infinity
>>
>>  
>>
>> *From: *Nikita Loskutov <cna...@gmail.com>
>> *Date: *Wednesday, November 16, 2016 at 11:24 PM
>> *To: *golang-nuts <golan...@googlegroups.com>
>> *Cc: *<michae...@gmail.com>, <cna...@gmail.com>
>> *Subject: *Re: [go-nuts] Reaching infinity
>>
>>  
>>
>> @*Michael Jones *I think nothing will changed in case of 
>> fmt.Println(math.Inf(0)) 
>> or defer,  because it never triggered.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to