< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #9251 has been updated by rits (First Last).
shyouhei (Shyouhei Urabe) wrote:
> I would also like to say that Ruby is here for you to have your better life, not to force you live in a inconvenient specification.
Ruby is a programming language not some loose colloquial jargon. Don't know about you, but my life does not get better when a language I am using does not follow its specification.
----------------------------------------
Bug #9251: ! operator has lower precedence than = in an assignment expression
https://bugs.ruby-lang.org/issues/9251#change-43695
Author: rits (First Last)
Status: Feedback
Priority: Low
Assignee:
Category: doc
Target version:
ruby -v: ruby 2.0.0p353 (2013-11-22 revision 43784) [i686-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
irb(main):001:0> !a = 1
(irb):1: warning: found = in conditional, should be ==
=> false
irb(main):002:0> a
=> 1
! is supposed to have higher precedence than =, so !a = 1 should be (!a) = 1, and thus an error, not !(a = 1)
--
http://bugs.ruby-lang.org/