yancya (Shinta Koyanagi)
- Login: yancya
- Email: yancya@upec.jp
- Registered on: 12/26/2014
- Last sign in: 12/26/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 3 | 3 |
Activity
09/25/2020
-
07:41 PM Ruby Bug #17190 (Closed): Not working multiple assignment by rightward assignment statement
- For example. It is foo.rb
```rb
42, 42 => a, b
p a
p b
```
I expected it.
```sh
42
42
```
But, Real result.
```sh
hoge.rb:1: syntax error, unexpected ',', expecting end-of-input
42, 42 => a, b
```
Is this inte...
01/24/2017
-
09:17 AM Ruby Bug #13152: Numeric parsing differences between ruby <-> crystal
- Martin Dürst wrote:
> - What do other languages (in particular languages more well known that Cristal) do?
I tried it by nodejs v7.4.0.
~~~
console.log(process.version);
//=> v7.4.0
console.log(-2 ** 4);
//console.log(-2 *...
06/06/2016
-
08:52 AM Ruby Bug #12462 (Closed): Segmentation fault hapen when calling Proc that has return
- Hi.
Is this bug?
I execute it.
~~~
ruby -ve "def x; Proc.new { return 1 }.tap(&:call); end; p x"
~~~
Result is this.
~~~
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
-e:1: [BUG] Segmentation fault at 0x00...
12/26/2014
-
03:01 AM Ruby Bug #10653 (Closed): do-end block in ternary operator is syntax error
- - For example
```
ruby -v -e 'true ? 1.tap do |n| p n end : 0'
```
- Result by 2.1.5
```
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
1
```
- Result by 2.2.0
```
ruby 2.2.0p0 (2014-12-25 revision 49...