Skip to content

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

@drforr

Description

@drforr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions