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

c2c4ec6
Opened by Jeffrey Yasskin at 2010-07-27 18:19:52
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.

  1. Distill semantics of use-def maps to fewer and more-obvious words.

    • Remove redundant uses of 'resolve' and 'referent' in semant.
    • Use defn, defn_id, lval, lval_base more consistently.
    • Make associated query functions more consistent.
    • Closed by 4d31cf1dc58794b8f72240eb19c48b392e9de7b2.

    Graydon Hoare at 2010-07-27 18:19:52