Inline-Python
Inline-Python copied to clipboard
role Inline::Python::PythonParent can't be used in a class with :: in the name
class Gtk::App does Inline::Python::PythonParent['main', 'gtk'] { }
Fails with:
invalid syntax (
Part of what needs to be done is probably:
$subclass_name ~~ s:g{'::'}='__'; # on line 450 Inline/Python.pm6
I'm working on a PR, you'll be notified if I get it working.
https://github.com/niner/Inline-Python/pull/22 - Inline/Python.pm6 and t/inherit.t test added