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: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f860905ccedc
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 513b63c319af
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on May 24, 2015

  1. Fix #877

    vais committed May 24, 2015
    Copy the full SHA
    75de3f2 View commit details

Commits on May 30, 2015

  1. Merge pull request #891 from vais/fix-issue-877

    Fix #877 (compiler generates accidental global var if proc arg used outside proc)
    vais committed May 30, 2015
    Copy the full SHA
    513b63c View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/opal/nodes/iter.rb
2 changes: 1 addition & 1 deletion lib/opal/nodes/iter.rb
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ def args_to_params(sexp)
sexp.each do |arg|
if arg[0] == :lasgn
ref = variable(arg[1])
scope.add_arg ref
self.add_arg ref
result << ref
elsif arg[0] == :array
result << scope.next_temp