Closed fugakkbn closed 2 years ago
RBS Rails ignores Steep's type signature by rbs_collection.yaml. So I'm not sure why you got the error.
Hmmm...seems to be a problem with my environment. I will investigate the cause separately, but would like to close this PR. Sorry for the inconvenience. Thanks.
When we run
steep check
we get the following error:It says "cannot be duplicated," so I checked and it appears that a type definitions for the
Parser
module has recently been added to Steep. https://github.com/soutaro/steep/blob/56eab05da8872051ab258f5ddb32b576a4b73256/sig/shims/parser.rbs#L4-L6Looking at the added rbs files, it appears that the
Parser
module,Parser::AST
module, andParser::AST::Node
class have all been added. Therefore, these definitions are removed.