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

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

Closed
jyasskin opened this issue Jul 25, 2010 · 1 comment
Closed

Comments

@jyasskin
Copy link
Contributor

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.

@graydon
Copy link
Contributor

graydon commented Jul 27, 2010

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 4d31cf1.

mbrubeck pushed a commit to mbrubeck/rust that referenced this issue Oct 17, 2011
- Remove redundant uses of 'resolve' and 'referent' in semant.
- Use defn, defn_id, lval, lval_base more consistently.
- Make associated query functions more consistent.
- Closes rust-lang#127.
arielb1 pushed a commit to arielb1/rust that referenced this issue Apr 10, 2015
In particular:

* The RFC associated with rust-lang#127 should have had a link to rust-lang#19 as well
  (and has been assigned RFC rust-lang#19); it also was revised to match the
  markdown href style of other RFCs.

* RFC rust-lang#34 needed its header entries filled in,

* RFC rust-lang#123 had a typo in its header, and

* RC rust-lang#155 was revised to match the markdown href style of other RFCs.
oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017
ignore `print!`, turn `panic!` into a EvalError
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
libc-test's C program should not #include <linux/fs.h> on Linux
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
Rename glossory to glossary (o->a)
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 1, 2021
djtech-dev pushed a commit to djtech-dev/rust that referenced this issue Dec 9, 2021
Make vec_type() return a Result so that it can issue an error on vec_type(0).
bjorn3 pushed a commit to bjorn3/rust that referenced this issue Feb 26, 2022
This issue was closed.
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

2 participants