Skip to content

Instantly share code, notes, and snippets.

@brson
Created May 1, 2011 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brson/950996 to your computer and use it in GitHub Desktop.
Save brson/950996 to your computer and use it in GitHub Desktop.
exports with unexported deps
mod foo {
export f;
export g;
tag t {
t1;
}
fn f() -> t {
ret t1;
}
fn g(t t0) {
}
}
fn main() {
foo.g(foo.f());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment