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

Fix monomorphization of unboxed closures #18144

Commits on Oct 28, 2014

  1. Fix monomorphization of unboxed closures

    This adds a `Substs` field to `ty_unboxed_closure` and plumbs basic
    handling of it throughout the compiler. trans now correctly
    monomorphizes captured free variables and llvm function defs.  This
    fixes uses of unboxed closures which reference a free type or region
    parameter from their environment in either their signature or free
    variables.  Closes rust-lang#16791
    bkoropoff committed Oct 28, 2014
    Configuration menu
    Copy the full SHA
    f0cc3a9 View commit details
    Browse the repository at this point in the history
  2. 5 Configuration menu
    Copy the full SHA
    e46af8c View commit details
    Browse the repository at this point in the history