Still, it's better to mention it in the documentation with all possible
caveats. I'd appreciate if you opened an issue, linking this question.

El dom., 4 ago. 2019 a las 14:20, Marcel Timmerman (<mt1...@gmail.com>)
escribió:

> Hi all,
>
> Studying GTK::Simple if found about the existence of a routine
> DEPRECATED which I couldn't find in the Perl6 documents. Reading from
> the code I see that it needs 3 arguments, start version of deprecation,
> version when it is removed and a string like in the 'is DEPRECATED()'
> trait.
>
> A use like
>
> sub gtk_builder_add_from_file ( ... ) {
>    DEPRECATED(
>      'other multi version of gtk_builder_add_from_file', '0.17.10',
> '0.20.0'
>    );
>    ...
> }
>
>
> Gives a result like;
>
> Saw 1 occurrence of deprecated code.
>
> ================================================================================
> Sub gtk_builder_add_from_file (from Gnome::Gtk3::Builder) seen at:
> /home/marcel/Languages/Perl6/Projects/perl6-gnome-gtk3/../perl6-gnome-native/lib/Gnome/N/X.pm6
>
> (Gnome::N::X), line 109
> Deprecated since v0.17.10, will be removed with release v0.20.0!
> Please use other version of gtk_builder_add_from_file instead.
>
> Perhaps it should be added to the docs (or I am look in the wrong spot :-)
>
> Thanks very much for the documentation as it is now
> Regards,
> Marcel
>


-- 
JJ

Reply via email to