Takeshi KOMIYA
Takeshi KOMIYA
I think this is a bug of the RBS gem. So I posted ruby/rbs#2054 to fix this.
How about this? ``` # rbs class Model def self.has_paper_trail: (?untyped, ?if: ^(instance) -> boolish) -> void def is_live?: () -> true end ``` It tells us that `Model.has_paper_trail` takes...
Sorry for the confusion. My last comment was incorrect. There are two problems: * The type of `Kernel#proc` was incorrect * For now, no way to give types for Proc...
Note: This was also reported to sphinx-gallery project as https://github.com/sphinx-gallery/sphinx-gallery/issues/967.
Could you share a minimal reproducible example, please? On my local, alphacsc repo requires 20+ minutes (still in progress...)
I used this Dockerfile to reproduce the error: ``` FROM python:3.10-slim RUN apt update; apt install -y build-essential curl git make unzip vim RUN git clone https://github.com/alphacsc/alphacsc WORKDIR /alphacsc RUN...
We have six versions for activerecord gem (6.0, 6.1, 7.0, 7.1, 7.2, and 8.0). It's too much and hard to maintain. So, +1 for changing maintenance policy. According to the...
+1. Let's follow the upstream's policy.
It seems the argument of `Array#include?` is defined as `Elem` (the type of array members). The result came from this definition. https://github.com/ruby/rbs/blob/master/core/array.rbs#L2185 I can understand the definition because passing a...
I can understand @soutaro's comment. The type system checks the correctness of the programs via types. So it's not compatible with Ruby. From the heart of Rubyist the `ENV` case...