Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
base: a9b54928be63
Choose a base ref
...
head repository: jruby/jruby
compare: 9a1ce58570f5
Choose a head ref
  • 2 commits
  • 10 files changed
  • 1 contributor

Commits on Dec 13, 2016

  1. Simplify Kernel#lambda spec

    eregon committed Dec 13, 2016
    Copy the full SHA
    9ba1ffd View commit details
    Browse the repository at this point in the history
  2. [Truffle] Fix semantics of Kernel#lambda.

    * If the passed block is a literal block, then it creates a lambda-style Proc.
    * If an existing Proc is passed, it just passes through,
      regardless of whether it is lambda-style or proc-style.
    * This implementation takes advantage of cloning/splitting when running on Graal,
      and otherwise looks up the call node to see if it has a literal block argument.
    eregon committed Dec 13, 2016
    Copy the full SHA
    9a1ce58 View commit details
    Browse the repository at this point in the history