Skip to content

Spawning a function from inside a module hits "unhandled indirect-spawn" #127

Closed
@jyasskin

Description

@jyasskin
fn main() {
  spawn m.child(10);
}
mod m {
  fn child(int i) {
    log i;
  }
}

Rustboot seems to think that any dotted name is a slot, while this one's an item. It works to import the nested name and spawn it directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions