Activity
From 08/26/2009 to 09/01/2009
09/01/2009
-
11:27 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
2009/9/1 Urabe Shyouhei <[email protected]>:
> Michal Suchanek wrote:
>> 2009/9/1 Yui NARUSE <[email protected]>:
>>> Issue #2026 has been updated by Yui NARUSE.
>>>
>>>
>>> Current Ruby thinks the filesystem encod... -
08:32 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
Michal Suchanek wrote:
> 2009/9/1 Yui NARUSE <[email protected]>:
>> Issue #2026 has been updated by Yui NARUSE.
>>
>>
>> Current Ruby thinks the filesystem encoding of Unix is binary.
>> Because our initial research sh... -
08:22 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
As I stated, our initial research shows Unix user expects filesystem encoding to be binary.
For example, matz used UTF-8 locale with EUC-JP files.
see [ruby-dev:34923] in Japanese
So you must have counterarguments or res... -
08:10 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
2009/9/1 Yui NARUSE <[email protected]>:
> Issue #2026 has been updated by Yui NARUSE.
>
>
> Current Ruby thinks the filesystem encoding of Unix is binary.
> Because our initial research shows users of Unix expect it.
>... -
07:57 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
Current Ruby thinks the filesystem encoding of Unix is binary.
Because our initial research shows users of Unix expect it.
As you know, Windows is UTF-16LE/Locale (see also win32-unicode-test),
and Mac OS X is UTF-8.
I... -
04:46 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
Actually it is simpler from Ruby point of view, since if you want to cover all the cases you named, it is enough to use UTF-16 functionality and everybody will be just happy. The only question is how to ensure that string coming ... -
04:13 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
>
> If I work on Windows, I expect that every filename will be stored in UTF-16LE, otherwise I'm in trouble again.
On Windows the situation is somewhat more complicated. It does store
the filenames in UTF-16 but it also has ... -
04:02 PM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
Hello,
Working on Ubuntu, I have set following environment variable: LANG="cs_CZ.UTF-8" so it means my system expects IO operations to be UTF-8 encoded. Otherwise Nautilus, command line or every other application cannot corr... -
05:31 AM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
2009/8/31 Yukihiro Matsumoto <[email protected]>:
> Hi,
>
> In message "Re: [ruby-core:25220] [Bug #2026] String encodings are not supported by most of IO on Linux"
> on Tue, 1 Sep 2009 00:27:14 +0900, Vit Ondruch <redmin... -
04:02 AM Bug #2026: String encodings are not supported by most of IO on Linux
- =begin
Hi,
In message "Re: [ruby-core:25220] [Bug #2026] String encodings are not supported by most of IO on Linux"
on Tue, 1 Sep 2009 00:27:14 +0900, Vit Ondruch <[email protected]> writes:
|If string used as path has di... -
12:27 AM Bug #2026 (Closed): String encodings are not supported by most of IO on Linux
- =begin
If string used as path has different than UTF-8, the path created on file system is incorrect. The described faulty behavior is common for most of Dir and IO actions. Attached script demonstrates the behavior on sample of Dir#mkd... -
08:23 PM Bug #1914: ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0
- =begin
Hello all,
Here are the tips I implement for my latest successful build.
After reading in more details <http://www.ibm.com/developerworks/aix/library/au-gnu.html> and associated <http://download.boulder.ibm.com/ibmdl/pu... -
08:07 PM Bug #2024 (Closed): memory leak in eval with TOPLEVEL_BINDING
- =begin
Applied in changeset r24726.
=end
-
03:46 PM Feature #2022: Patch for openssl-1.0
- =begin
Hi,
At Mon, 31 Aug 2009 08:32:19 +0900,
Jeroen van Meeuwen wrote in [ruby-core:25210]:
> Attached is a patch for ruby-1.8.6 to enable it to compile
> with and use openssl-1.0
It could compile with openssl 0.9.8k, though ... -
02:38 AM Feature #2017: String#/(sep)
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:39208] [Feature #2017] String#/(sep)"
on Mon, 31 Aug 2009 20:25:40 +0900, Yui NARUSE <[email protected]> writes:
|> String#/は str.split(sep) の形式のものだけ数えるべきではない
|> でしょうか。もちろん、st...
08/31/2009
-
08:42 PM Bug #2025 (Closed): problem with pthread handling on non NPTL platform
- =begin
I tried to fix some testsuite failures on GNU/kFreeBSD,
http://bugs.debian.org//cgi-bin/bugreport.cgi?bug=542927.
I observed some problems in the pthread related code.
The hang in 1st test in
http://redmine.ruby-lang.org/... -
08:25 PM Feature #2017: String#/(sep)
- =begin
> String#/は str.split(sep) の形式のものだけ数えるべきではない
> でしょうか。もちろん、str / "" でも表現可能でしょうが、あま
> り意図を表現しているとは思えませんから。
ふむ、なるほど。.と(を入れてgrepするようにしてみました。
% grep '.split(' **/*.rb|wc -l
430
% grep '.gsub(' **/*.rb|wc -l
... -
07:28 AM Feature #2017: String#/(sep)
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:39203] [Feature #2017] String#/(sep)"
on Mon, 31 Aug 2009 02:35:51 +0900, Yui NARUSE <[email protected]> writes:
|以前から、Array#*(sep) との対称性から String#/(sep) の採用は求められてきました。
|しかし、対... -
02:35 AM Feature #2017 (Rejected): String#/(sep)
- =begin
String#/(separator) を String#join(separator) の alias として追加しませんか?
以前から、Array#*(sep) との対称性から String#/(sep) の採用は求められてきました。
しかし、対称性だけでは根拠が弱く、入ることなく今に至っています。
今回は、String#split の出現頻度を調べてみました。
Rubyのソースで調べてみると、
% grep spli... -
03:56 PM Bug #2024 (Closed): memory leak in eval with TOPLEVEL_BINDING
- =begin
以下のスクリプトが無限にメモリを消費します。
なお1.8では問題ありませんし、TOPLEVEL_BINDINGの代わりにbindingを渡した場合も問題ありません。
loop do
eval("", TOPLEVEL_BINDING)
GC.start
end
=end
-
11:42 AM Feature #2022: Patch for openssl-1.0
- =begin
Hi,
At Mon, 31 Aug 2009 08:32:19 +0900,
Jeroen van Meeuwen wrote in [ruby-core:25210]:
> Attached is a patch for ruby-1.8.6 to enable it to compile
> with and use openssl-1.0
Other versions have no problem?
And it can c... -
08:55 AM Feature #2022: Patch for openssl-1.0
- =begin
Thanks. I will take a look at it very soon.
=end
-
08:31 AM Feature #2022 (Closed): Patch for openssl-1.0
- =begin
Attached is a patch for ruby-1.8.6 to enable it to compile with and use openssl-1.0
=end
-
07:40 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
- =begin
On Mon, 31 Aug 2009, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:25201] Re: [Bug #2018] [irb] BasicObject.new doesn't have an inspect"
> on Mon, 31 Aug 2009 02:49:19 +0900, "David A. Black" <dblack@rub... -
07:36 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
- =begin
Hi,
In message "Re: [ruby-core:25201] Re: [Bug #2018] [irb] BasicObject.new doesn't have an inspect"
on Mon, 31 Aug 2009 02:49:19 +0900, "David A. Black" <[email protected]> writes:
|> Bug #2018: [irb] BasicObject.new... -
02:51 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
- =begin
I thought the whole point of BasicObject is that it doesn't have any methods.
=end
-
02:49 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
- =begin
Hi --
On Mon, 31 Aug 2009, Daniel Bovensiepen wrote:
> Bug #2018: [irb] BasicObject.new doesn't have an inspect
> http://redmine.ruby-lang.org/issues/show/2018
Why is that a bug?
David
--
David A. Black / Ruby... -
02:43 AM Feature #2018 (Closed): [irb] BasicObject.new doesn't have an inspect
- =begin
Using BasicObject.new in irb:
daniel@boviAir# ruby19 --version
ruby 1.9.2dev (2009-08-30 trunk 24718) [i386-darwin9.8.0]
daniel@boviAir# irb19 --version
irb 0.9.6(09/06/30)
daniel@boviAir# irb19
i... -
04:17 AM Bug #1885: Proper comparison of recursive Struct & Range
- =begin
Here is a patch for the latest 1.9.x that fixes comparison between recursive Struct. The right result is now returned, instead of looping forever. Note: this fixes Struct only; Range has not been patched. Rubyspecs have been upda... -
01:00 AM Bug #2016 (Rejected): Windows (win32.c) command line argument parsing bug
- =begin
Fix:
file: \win32\win32.c
routine: rb_w32_cmdvector
line:
memcpy(p - ((slashes + 1) >> 1), p + (~slashes & 1),
base + len - p);
add 1 to the length so we include the trailing zero:
memcpy(p - ((slashes + 1) >>...
08/30/2009
-
05:12 PM Feature #1961: Kernel#__dir__
- =begin
On Aug 30, 2009, at 00:14 , NARUSE, Yui wrote:
> You should see solutions in the original post:
>> (1) add a toplevel constant __DIR__
>> pros: looks like __FILE__
>> cons: adding new keyword
>>
>> (2) add Kernel#__DIR_... -
04:14 PM Feature #1961: Kernel#__dir__
- =begin
Hongli Lai wrote:
> I think it should be __DIR__ for consistency. There are no other __ things in Ruby
> that are lowercase. I think whether __dir__ is a keyword or a function should be an
> implementation detail.
You shoul... -
05:56 AM Feature #1961: Kernel#__dir__
- =begin
Hi,
In message "Re: [ruby-core:25184] Re: [Feature #1961] Kernel#__dir__"
on Sun, 30 Aug 2009 04:10:55 +0900, Hongli Lai <[email protected]> writes:
|I think it should be __DIR__ for consistency. There are no other __ ... -
04:31 AM Feature #1961: Kernel#__dir__
- =begin
On Aug 29, 2009, at 12:10 , Hongli Lai wrote:
> I think it should be __DIR__ for consistency. There are no other __
> things in Ruby
> that are lowercase. I think whether __dir__ is a keyword or a
> function should be... -
03:51 AM Feature #1961: Kernel#__dir__
- =begin
Hi,
In message "Re: [ruby-core:25182] Re: [Feature #1961] Kernel#__dir__"
on Sun, 30 Aug 2009 02:57:44 +0900, Magnus Holm <[email protected]> writes:
|Wouldn't it be a little confusing to remember that __FILE__ is uppe... -
02:57 AM Feature #1961: Kernel#__dir__
- =begin
Wouldn't it be a little confusing to remember that __FILE__ is uppercase and
__dir__ is downcase? Doesn't sound very POLS to me...
//Magnus Holm
On Wed, Aug 19, 2009 at 16:57, Yutaka HARA <[email protected]> wrote:
... -
12:00 AM Feature #1961: Kernel#__dir__
- =begin
Hi,
In message "Re: [ruby-core:24982] [Feature #1961] Kernel#__dir__"
on Wed, 19 Aug 2009 23:57:07 +0900, Yutaka HARA <[email protected]> writes:
|= Proposal
|
| Kernel#__dir__
| returns the value of File.dirn... -
05:07 PM Bug #1950 (Closed): 警告が正しく発っせられない
- =begin
Applied in changeset r24716.
=end
-
02:53 PM Feature #2013 (Rejected): [PATCH] a = *b calls b.*@
- =begin
This makes the * operator operate more similarly to the + and - operators. The binary versions of + and - call methods named + and -, while the unary versions call methods named +@ and -@. The binary * operator calls the metho... -
02:21 PM Feature #2012 (Closed): Set event_flags on thread creation if hook exists
- =begin
In ruby-debug, when a user sets a breakpoint that ends up executed by a later-created thread, then nothing will happen.
The only solution that I have at this point is to always set RUBY_EVENT_VM for all living threads every ... -
01:34 AM Bug #1375: Zlib::GzipReaderに対するエンコーディング指定
- =begin
設定方法は
Zlib::GzipReader.open('test.txt.gz', encoding: 'UTF-8')
であっています。
Zlib::GzipReader#read では設定されたエンコーディングが反映されない、というのがこのバグでした。
=end
-
01:27 AM Bug #1375 (Closed): Zlib::GzipReaderに対するエンコーディング指定
- =begin
Applied in changeset r24704.
=end
08/29/2009
-
08:11 PM Feature #2010: autoset http response encoding
- =begin
charset parameter of HTTP is not reliable because of compatibility.
see 2.7 Character Encodings of HTML5 draft.
http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#character-encodings-0
So ... -
07:46 PM Feature #2010 (Rejected): autoset http response encoding
- =begin
What about that ?
Oleg.
=end
-
02:49 AM Feature #1999: Improved Tempfile
- =begin
Here is a patch which implements the CreationError exception class, as documented in the Tempfile API documentation. However, I could not write a unit test for it because there seems to be no mocking/stubbing framework that I cou... -
02:38 AM Feature #1999: Improved Tempfile
- =begin
Sorry, please ignore my last message, I ran the test in a wrong way.
I'm working on some patches in the format as required by ruby-core:25139.
=end
-
02:36 AM Feature #1999: Improved Tempfile
- =begin
Thanks. But revision 24666 should be reverted. It breaks the test_finalizer_does_not_unlink_if_already_unlinked test.
=end
08/28/2009
-
08:18 PM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
Ah, I thought that I was already subscribing to this bug ticket.
The problem is:
>|I interpretd this paragraph says,
>|Ruby's License is alyways GPLv2 compat.
>|
>|> b) note that
>|> readline extension can be distr... -
11:47 AM Bug #1997 (Closed): memory leak on redefining method
- =begin
Applied in changeset r24691.
=end
-
07:37 AM Bug #1991: ruby should use twolevel namespace on OS X
- =begin
=end
08/27/2009
-
08:21 PM Bug #1991: ruby should use twolevel namespace on OS X
- =begin
Hi,
Please create new tickets for each issues.
At Thu, 27 Aug 2009 19:59:29 +0900,
Michal Suchanek wrote in [ruby-core:25165]:
> It's not like the situation with 1.8 vs 1.9 is any different. You
> still cannot have two (... -
07:59 PM Bug #1991: ruby should use twolevel namespace on OS X
- =begin
2009/8/27 Urabe Shyouhei <[email protected]>:
> Michal Suchanek wrote:
>>>> - change the library name from libruby to libruby1.8 to prevent clashes with libruby1.9 (or something like that)
>>> Reject. 1.9 uses libruby.1.... -
10:30 AM Bug #1991: ruby should use twolevel namespace on OS X
- =begin
Michal Suchanek wrote:
>>> - change the library name from libruby to libruby1.8 to prevent clashes with libruby1.9 (or something like that)
>> Reject. 1.9 uses libruby.1.9.1.dylib already, no needs to
>> change 1.8.
>>
>
... -
07:15 PM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
Hi,
In message "Re: [ruby-dev:39175] Re: [Bug #2000] Change the license to "GPLv2+ or Ruby's original"."
on Thu, 27 Aug 2009 14:22:44 +0900, "NARUSE, Yui" <[email protected]> writes:
|I interpretd this paragraph says,
... -
02:28 PM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
2009/08/27 9:21, Nobuyoshi Nakada wrote:
> At Thu, 27 Aug 2009 00:20:03 +0900,
> Takahiro Kambe wrote in [ruby-dev:39169]:
>> And you need to know, Ruby's readline module work not only with GNU
>> readline but also editline l... -
02:22 PM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
2009/08/27 0:13, Yukihiro Matsumoto wrote:
> I am not sure how Fedra project think, but there's no such thing as
> Ruby's license independent from GPL. It's always dual licensed, so as
> a whole it's always GPL compatible (at... -
09:22 AM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
Hi,
At Thu, 27 Aug 2009 00:20:03 +0900,
Takahiro Kambe wrote in [ruby-dev:39169]:
> > So please change the Ruby's license to GPLv3 (and GPLv2) compat.
> Another option is make Ruby use older readline library which was GPLv2... -
01:51 AM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
Moved to feature category because this is not a bug definitely.
=end
-
12:29 AM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
Hi,
In message "Re: [ruby-dev:39168] Re: [Bug #2000] Change the license to "GPLv2+ or Ruby's original"."
on Thu, 27 Aug 2009 00:13:31 +0900, Yukihiro Matsumoto <[email protected]> writes:
|It's already
|known to FSF,... -
12:20 AM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
In message <[email protected]>
on Wed, 26 Aug 2009 23:47:10 +0900,
Mamoru Tasaka <[email protected]> wrote:
> Bug #2000: Change the license to "GPLv2+ or Ruby's original".
> http://redm... -
12:13 AM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
- =begin
Hi,
I guess this post might be better to go ruby-core.
In message "Re: [ruby-dev:39167] [Bug #2000] Change the license to "GPLv2+ or Ruby's original"."
on Wed, 26 Aug 2009 23:47:10 +0900, Mamoru Tasaka <redmine@ruby-la... -
06:55 PM Bug #1997: memory leak on redefining method
- =begin
なかだです。
At Wed, 26 Aug 2009 15:30:50 +0900,
Usaku NAKAMURA wrote in [ruby-dev:39165]:
> 以下のスクリプトがメモリをどんどん食いつぶします。
>
> loop do
> class C
> def foo
> end
> end
> GC.start
> end
>
> vm_method.cのrb_add_m... -
04:59 PM Bug #2008 (Closed): test_io.rb: test 2 fails on FreeBSD
- =begin
Hi,
Test 2 in test_io.rb fails on FreeBSD. This is related to http://redmine.ruby-lang.org/issues/show/1066, which, according to the comments posted after the bug was closed, wasn't really fixed.
I ran into this on Deb... -
02:04 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
- =begin
Thank you for information.
I tested the data, and found & fixed a bug in Oniguruma. (r24677)
This bug is from original Oniguruma.
Oniguruma limited the max length of a property name to 20.
This raises a bug on Unicode ... -
01:05 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
- =begin
In this context, please also see
http://www.unicode.org/mail-arch/unicode-ml/y2009-m08/0207.html, which
says (From: [email protected]; Date: Wed Aug 26 2009 - 19:48:45
CDT):
>>>>
The data files in the Unicode C... -
01:57 PM Bug #2005 (Closed): abort at TestRand#test_random_range
- =begin
Applied in changeset r24681.
=end
-
01:29 PM Bug #2005 (Closed): abort at TestRand#test_random_range
- =begin
TestRand#test_random_range で abort します。
% ruby-trunk ~/wc/ruby/trunk/test/ruby/test_rand.rb -v -n test_random_range
Loaded suite /home/kazu/wc/ruby/trunk/test/ruby/test_rand
Started
TestRand#test_random_range: /home/ka... -
08:17 AM Bug #2001 (Closed): StringScanner#string= dups and freezes when it shouldn't
- =begin
Applied in changeset r24679.
=end
-
07:30 AM Bug #2001 (Closed): StringScanner#string= dups and freezes when it shouldn't
- =begin
StringScanner#string= will dup the target string and then freeze the duplicate string. It should not do this.
I've attached a patch which demonstrates the problem and fixes it.
=end
08/26/2009
-
11:47 PM Feature #2000 (Closed): Change the license to "GPLv2+ or Ruby's original".
- =begin
Hello.
Recently readline 6.0 was released and its license was changed from
GPLv2+ (GPL version 2 and any later) to GPLv3+ [1][2]
Unfortunately Ruby's license is still under GPLv2 and Ruby's original license [3],
which ... -
10:47 PM Feature #1999: Improved Tempfile
- =begin
nobu added your tests and I add your documents.
For addiotional changes, please see [ruby-core:25139].
=end
-
05:16 PM Feature #1999 (Closed): Improved Tempfile
- =begin
I've written an improved version of Tempfile. The changes are as follows:
- Much better documentation.
- A large unit test suite to prevent future regressions.
- Fixes a bug in the finalizer: if one calls #unlink on a Tempf... -
10:43 PM Bug #1991: ruby should use twolevel namespace on OS X
- =begin
2009/8/24 Nobuyoshi Nakada <[email protected]>:
> Hi,
>
> At Mon, 24 Aug 2009 20:15:07 +0900,
> Michal Suchanek wrote in [ruby-core:25086]:
>> Note: the patch is taken from a package that changes more than the namespace
>
... -
07:39 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
- =begin
Hello Yui, others,
[I'd really like to hear from Yugui, because she is responsible for
1.9.1 and 1.9.2.]
On 2009/08/26 18:46, Yui NARUSE wrote:
> Issue #1889 has been updated by Yui NARUSE.
>
>
> I see.
> ruby_1_9_2 ... -
06:46 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
- =begin
I see.
ruby_1_9_2 release branch will be created sooner.
=end
-
02:55 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
- =begin
On 2009/08/26 2:06, Yui NARUSE wrote:
> Issue #1889 has been updated by Yui NARUSE.
>
>
> I applied this change, thanks.
>
> I'll apply latest stable Unicode Data because tracking Beta version needs more resource.
Unders... -
02:06 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
- =begin
I applied this change, thanks.
I'll apply latest stable Unicode Data because tracking Beta version needs more resource.
=end
-
01:17 AM Feature #1889 (Closed): Teach Onigurma Unicode 5.0 Character Properties
- =begin
Applied in changeset r24651.
=end
-
07:27 PM Bug #1858 (Closed): Random#int's Handling of Invalid Arguments Contradicts its Documentation
- =begin
Applied in changeset r24670.
=end
-
07:27 PM Bug #1855 (Closed): Random#int with Single-Element Ranges
- =begin
Applied in changeset r24670.
=end
-
05:17 PM Bug #1494: tempfile#unlink may silently fail on windows
- =begin
Great, thanks for reverting.
I've opened an enhancement request for my Tempfile improvements: http://redmine.ruby-lang.org/issues/show/1999
=end
-
02:26 PM Bug #1494: tempfile#unlink may silently fail on windows
- =begin
The revert commit is r24662.
Yugui will backport this to 1.9.1.
If you have some enhancement request, create new ticket per issue and attach patches for ruby's trunk.
=end
-
01:49 PM Bug #1494 (Third Party's Issue): tempfile#unlink may silently fail on windows
- =begin
RubyInline's issue.
=end
-
03:30 PM Bug #1997 (Closed): memory leak on redefining method
- =begin
以下のスクリプトがメモリをどんどん食いつぶします。
loop do
class C
def foo
end
end
GC.start
end
vm_method.cのrb_add_method()を見たところ、TODOを直し忘れてるようです。
また、remove_methodでもメモリを解放してないので、同じようにメモリを食いつぶすことが出来そうです。
# なかださんが... -
01:01 PM Bug #1996: ||= &&= doesn't return rval, but result of method
- =begin
Redmineプロジェクト宛に来てしまったissueを転送します。
---------- 転送メッセージ ----------
From: Joshua Hull <[email protected]>
日付: 2009/08/26 11:01
件名: [redmine4ruby-lang:256] [Bug #1996] ||= &&= doesn't return rval,
but result of method
To: ... -
11:01 AM Bug #1996 (Closed): ||= &&= doesn't return rval, but result of method
- =begin
Inconsistent behvaiour introduced in Ruby 1.9.1 with compound assignment operators.
>> o = Object.new
=> #<Object:0x00000100975a80>
>> def o.foo=(x); x * 2 end
=> nil
>> def o.foo; nil end
=> nil
>> o.foo = 1
=...