e$B9b66@,5A$G$9!#e(Bruby-lang.orge$B$Ne(Bwebmastere$B08$KLd$$9g$o$;$,$"$C$?$Ne(B
e$B$G$9$,!"$3$A$i$KJs9p$7$^$9!#e(B
[]e$B$NCf$G!"%+%C%3$J$7$N%a%=%C%I8F$S=P$7$r$7$h$&$H$9$k$H!"e(B1.8e$B$G$Oe(B
OKe$B$@$C$?$b$N$,e(B1.9e$B$G$O%(%i!<$K$J$j$^$9!#$3$l$O;EMMJQ99$J$N$G$7$g$&$+!#e(B
$ ruby -ve ‘[p 3,4]’
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin8]
3
4
$ ./ruby -ve ‘[p 3,4]’
ruby 1.9.2dev (2009-10-12 trunk 25307) [i386-darwin8.11.1]
-e:1: syntax error, unexpected tINTEGER, expecting keyword_do or ‘{’ or
‘(’
[p 3,4]
^
-e: unexpected return
e$B9b66@,5Ae(B ([email protected])
e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B
In message “Re: [ruby-dev:39467] [p 3,4] is syntax error in trunk”
on Mon, 12 Oct 2009 18:24:53 +0900, masayoshi takahashi
[email protected] writes:
|[]e$B$NCf$G!"%+%C%3$J$7$N%a%=%C%I8F$S=P$7$r$7$h$&$H$9$k$H!"e(B1.8e$B$G$Oe(B
|OKe$B$@$C$?$b$N$,e(B1.9e$B$G$O%(%i!<$K$J$j$^$9!#$3$l$O;EMMJQ99$J$N$G$7$g$&$+!#e(B
|
|$ ruby -ve ‘[p 3,4]’
|ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin8]
|3
|4
e$B;EMMJQ99$G$9!#e(B
[p 3, 4]
e$B$Oe(B
[(p 3), 4]
e$B$J$N$+e(B
[(p 3, 4)]
e$B$J$N$+$"$$$^$$$@$C$?$N$G!"J8K!$r@0M}$7$^$7$?!#e(B
e$B9b66@,5A$G$9!#e(B
2009e$BG/e(B10e$B7ne(B12e$BF|e(B18:44 Yukihiro M.
[email protected]:
[p 3, 4]
e$B$Oe(B
[(p 3), 4]
e$B$J$N$+e(B
[(p 3, 4)]
e$B$J$N$+$"$$$^$$$@$C$?$N$G!"J8K!$r@0M}$7$^$7$?!#e(B
e$B$J$s$H!#$=$&$$$&M}M3$J$s$G$9$+!#$&$&$`!"$A$g$C$HJ,$+$j$K$/$$e(B
e$B!J@bL@$7$E$i$$!K$h$&$J5$$b$7$^$9$,!“F05!$O$o$+$j$^$7$?!#e(B
e$B$”$j$,$H$&$4$6$$$^$7$?!#e(B
e$B9b66@,5Ae(B ([email protected])