Yuichiro Kaneko
Yuichiro Kaneko
``` ruby Daru::Vector.new([1,2,3], index: [1,1,1]) => IndexError: Expected index size >= vector size. Index size : 1, vector size : 3 Daru::Index.new([1,1,1]) => # ``` `Index#initialize` uses `@relation_hash = index.each_with_index.to_h.freeze`,...
If lhs of assignment is top-level constant reference, the first constant name is omitted from error message. This commit fixes it. ``` # shareable_constant_value: literal ::C = ["Not " +...
`def test = puts("foo") or puts("bar")` is interrupted as `def test = (puts("foo") or puts("bar"))`. [Note] (2023-12-07) I created this patch to demonstrate it's not difficult to support this feature...
Parser needs to compare nodes to warn duplicate keys in a hash, for example: ``` {1 => :a, 1 => :b} # => test.rb:1: warning: key 1 is duplicated and...
# Abstract The type is assumed to be optional even so there is `if` check before method call. # Steep version * steep (1.5.3) # How to reproduce 1. Check...