< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #9669 has been updated by Nobuyoshi Nakada.
Status changed from Open to Closed
Applied in changeset r45408.
----------
parse.y: required kwarg without parentheses
* parse.y (parser_yylex): only a newline after label should be
significant. [ruby-core:61658] [Bug #9669]
----------------------------------------
Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
https://bugs.ruby-lang.org/issues/9669#change-45930
* Author: Teja Sophista
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: 2.1.1
* Backport: 2.0.0: DONTNEED, 2.1: REQUIRED
----------------------------------------
Ruby allowed us to define method with arguments without parentheses.
~~~
def foo a:, b:
'bar'
end
#=> :foo
def foo a:, b:
puts 'bar'
end
#=> syntax error
~~~
--
https://bugs.ruby-lang.org/