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
When generating RBS type signatures for core-ext classes, sord --rbs outputs them as regular classes. They need to be outputted with generic parameters for rbs/steep to properly validate them:
To Reproduce
classArraydefmy_ext# ...endend
$ sord --rbs defs.rbs
$ cat defs.rbs
Expected behavior
classArray[uncheckedoutT]defmy_ext: () ...
end
Actual behavior
classArraydefmy_ext: () ...
end
Additional information
sord (5.0.0)
rbs (2.7.0)
steep (1.2.1)
The text was updated successfully, but these errors were encountered:
Describe the bug
When generating RBS type signatures for core-ext classes,
sord --rbs
outputs them as regular classes. They need to be outputted with generic parameters forrbs
/steep
to properly validate them:To Reproduce
Expected behavior
Actual behavior
Additional information
The text was updated successfully, but these errors were encountered: