Add simple RBS signatures for generated files#104
Conversation
|
Thanks. |
|
@mtsmfm |
|
@joker1007 Can you rebase this branch onto the latest main? I'd like to see the result for generator workflow and CI failure should be fixed. |
|
@mtsmfm |
| gem "benchmark-ips" | ||
| gem "pry-byebug" | ||
| gem "activesupport" | ||
| gem "steep" |
There was a problem hiding this comment.
| gem "steep" | |
| gem "steep", require: false |
To fix this failure
https://github.com/mtsmfm/language_server-protocol-ruby/actions/runs/9206138738/job/25323641047
I know it's already retired though I'd like to not drop old rubies until we face huge difficulties just for my curiosity
There was a problem hiding this comment.
I'm sorry. I forgot to apply the change.
I fixed it.
|
Sorry for bothering you, could you rebase this branch again? Hopefully this change fixes the generator CI for forked repos |
|
No problem! |
|
Thanks! |
This pull request add rbs signatures for generated files.
Union type and type alias are not supported currently. I handle them as
untypednow.nevertheless, These signatures are useful for type checking and code completion.
I also write Steepfile to enable type checking.
But, I met a mysterious
DuplicatedDeclarationError.Because I couldn't resolve this, some type-checking errors are left.