Yutaka HARA

Results 99 issues of Yutaka HARA

``` class A; def initialize(@a: Int, @b: String); end; end p A.new(123, "foo") ``` Currently this prints `#`. It is nice if it prints `#`

enhancement
module:builtin/corelib

eg. ```rb class A def self.foo [1,2,3].each do |i: Int| p i return if i %2 == 0 end p "unreachable" # this should not be printed end end ```

design
needs hard work

Allow this. ``` p [1,2,3] .select{|i: Int| i % 2 == 0} .map{|i: Int| i * 2} ```

enhancement
good first issue
module:parser

``` ary = [1,2,3] p ary[ 0 ] ``` > unexpected token: Space

bug
good first issue
module:parser

Many enums derives `Clone` but for some of them I cannot remember why they derive Clone.

good first issue
refactor

`foo=` should take only one argument.

good first issue
error check

- CI fail on Ubuntu https://github.com/yhara/shiika/pull/232/checks?check_run_id=1676197864 - On mac, it can be reproduced by renaming builtin/_tuple.sk to builtin/zz.sk > ProgramError: method MethodFirstname("fst") not found on ClassFullname("Pair") To fix this, `#initialize`...

bug
module:hir

This should be error because possibly Shiika won't support open class ``` class Array end ```

design
error check

``` self.p 1 ``` > ParseError { location: Cursor { line: 817, col: 6, pos: 16719 } }: unexpected token: Space | 1

bug
module:parser

``` # :-( 3.times{|x: Int| ... } # :-) 3.times{|x| ... } ``` The type of `x` should be inferred from the signature of `Int#times`.