You generally only need to call the @compat macro when you're trying to use 
some new syntax that didn't parse correctly on older versions of Julia. If 
it parses correctly, Compat usually implements it with normal functions and 
methods, no need for a syntax-rewriting macro.


On Monday, August 29, 2016 at 6:11:19 AM UTC-7, J Luis wrote:
>
>  
>>
>> No, it is:
>>
>> t = unsafe_wrap(Array, Gb.data, h.size)
>>
>> as in the deprecation warning.
>>
>  
> Thanks (I'd figured it out too meanwhile)
>  
>
>> (You don't need @compat just for function calls.   You only need @compat 
>> for things where the syntax changes in a more complicated way.)
>>
>
> Hmm, what do you mean by this? If I don't use @compat (which I tried) I 
> get tons of deprecation messages. 
>

Reply via email to