Re: Ticket #105 (NULL checks)

[email protected] (Andy Lester) Wed, 31 Dec 2008 21:00:35 -0600
Newsgroups perl.perl6.internals
Message-ID <[email protected]>
On Dec 31, 2008, at 3:50 PM, Andy Dougherty wrote:

> We can solve it by getting
> rid of the attribute_nonnull decorations and replacing them with
> assert()s.


An even better solution is to keep the attribute_nonnull and also add  
asserts.

The ARGIN()/ARGOUT() decorators are useful both to GCC and to splint,  
and who knows what other compiler that might come along.  They also  
help document the expected API.

xoxo,
Andy

--
Andy Lester => [email protected] => www.petdance.com => AIM:petdance