deepj (deepj #)
- Login: deepj
- Email: deepjungle.maca@gmail.com
- Registered on: 12/09/2015
- Last sign in: 11/18/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 4 | 4 |
Activity
12/21/2015
-
11:55 PM Ruby Bug #11841: StringIO with read and `nil, ''` arguments broken with enabled frozen string literal
- Thanks. In fact, I didn't realized the second argument is actually a buffer. My mistake
12/18/2015
-
04:33 PM Ruby Bug #11841 (Rejected): StringIO with read and `nil, ''` arguments broken with enabled frozen string literal
- I'm not sure what behavior is expected here. But the following use case is used in rack (https://github.com/rack/rack/blob/master/test/spec_lint.rb#L496). If frozen string literal is enabled it throws `read': can't modify frozen String (...
12/17/2015
-
03:23 AM Ruby Bug #11827: StringIO with set_encoding broken with enabled frozen string literal
- Shugo Maeda wrote:
>
> ...
Not throw the exception in this case. I guess this is a better example https://github.com/rack/rack/blob/master/lib/rack/mock.rb#L139
Here is set an encoding for IO classes included StringIO. When the fro...
12/16/2015
-
05:34 PM Ruby Bug #11827 (Closed): StringIO with set_encoding broken with enabled frozen string literal
- I'm not sure if this the following problem is an expected behavior. But I guess, it is a bug when I run the code below. It throws `set_encoding': can't modify frozen String (RuntimeError).
~~~
# frozen_string_literal: true
io = St...
12/09/2015
-
10:48 PM Ruby Bug #11800 (Closed): MakeMakefile breaks with frozen strings
- It seems MkConfig(RbConfig) breaks frozen strings mode
~~~
/Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/mkmf.rb:1292:in `<module:MakeMakefile>': can't modify frozen object (RuntimeError)
from /Users/deepj/.rubies/ruby-2.3.0-d... -
09:11 PM Ruby Bug #11798: MkConfig breaks with frozen strings
- Hi Nobu, I offer this alternative patch. What do you think?
-
08:42 PM Ruby Bug #11798 (Closed): MkConfig breaks with frozen strings
- It seems MkConfig(RbConfig) breaks frozen strings mode
~~~
/Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/x86_64-darwin15/rbconfig.rb:249:in `replace': can't modify frozen String, created at /Users/deepj/.rubies/ruby-2.3.0-dev/li...