Created
February 26, 2019 05:54
-
-
Save hsbt/b17c574ff20388dfbf63b00cee71c142 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-0.49 -e:1: syntax error | |
-e:1: syntax error | |
#<Process::Status: pid 7 exit 2> | |
ruby-0.50 -e:1: syntax error | |
-e:1: syntax error | |
#<Process::Status: pid 8 exit 2> | |
ruby-0.51 -e:1: syntax error | |
#<Process::Status: pid 9 exit 1> | |
... | |
ruby-0.95 -e:1: syntax error | |
#<Process::Status: pid 21 exit 1> | |
ruby-0.99.4-961224 -e:1: syntax error | |
def foo(&block) lambda(&block).call; end; foo {|_|} | |
^ | |
#<Process::Status: pid 22 exit 1> | |
... | |
ruby-1.1b9 -e:1: syntax error | |
def foo(&block) lambda(&block).call; end; foo {|_|} | |
^ | |
#<Process::Status: pid 52 exit 1> | |
ruby-1.1b9_01 | |
... | |
ruby-1.6.8 | |
ruby-1.8.0 -e:1: warning: multiple values for a block parameter (0 for 1) | |
from -e:1 | |
... | |
ruby-1.8.7-p374 -e:1: warning: multiple values for a block parameter (0 for 1) | |
from -e:1 | |
ruby-1.9.0-0 | |
... | |
ruby-2.5.0-preview1 | |
ruby-2.5.0-rc1 -e:1:in `block in <main>': wrong number of arguments (given 0, expected 1) (ArgumentError) | |
from -e:1:in `foo' | |
from -e:1:in `<main>' | |
#<Process::Status: pid 449 exit 1> | |
... | |
ruby-2.6.1 -e:1:in `block in <main>': wrong number of arguments (given 0, expected 1) (ArgumentError) | |
from -e:1:in `foo' | |
from -e:1:in `<main>' | |
#<Process::Status: pid 467 exit 1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment