Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

role Inline::Python::PythonParent can't be used in a class with :: in the name #21

Open
drforr opened this issue Mar 12, 2017 · 1 comment

Comments

@drforr
Copy link

drforr commented Mar 12, 2017

class Gtk::App does Inline::Python::PythonParent['main', 'gtk'] { }

Fails with:

invalid syntax (, line 1) trying to create subclass Gtk::App from main.gtk

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.

@drforr
Copy link
Author

drforr commented Mar 12, 2017

#22 - Inline/Python.pm6 and t/inherit.t test added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant