Skip to content

CObj: default args in constructors result in compile time error #1

@jokade

Description

@jokade

Default args in constructor of CObj classes are currently not possible:

@CObj
class GtkWindow(windowType: GtkWindowType = GtkWindow.TOPLEVEL)

results in

scala.scalanative.util.UnsupportedException: methods in extern objects must have extern body

SN 0.3.6, obj-interop 0.0.2-SNAPSHOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions