You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to also add this method to the RBS type signature? When I try type checking my file, I get the following error:
lib/x/oauth_authenticator.rb:42:10: [error] Type `::URI::Generic` does not have method `to_str`
│ Diagnostic ID: Ruby::NoMethod
│
└ uri.to_str.chomp("?#{uri.query}")
I would add this myself, but I can't find the RBS signature definition file in this repository.
5c17cd2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to also add this method to the RBS type signature? When I try type checking my file, I get the following error:
I would add this myself, but I can't find the RBS signature definition file in this repository.
5c17cd2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. We are starting to add sig to each library in recently.
ruby/prime#24