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
Looking at typical Ruby's array example they seem to be parsed as following: Enumerator<param<Elem>>
But I haven't found anything in the docs that shows how can one define custom generic classes to make use of such parameterized types.
I also tried defining the .rbs types declaration which supports such a feature, but that didn't help either. I'm assuming the RBS integration is still in progress (?).
Thanks in advance for your answers!
The text was updated successfully, but these errors were encountered:
Solargraph has limited support for parameterized types, but it mainly works with core classes like Array and Set. RBS is indeed still in progress. The code maps currently don't use it for the current workspace or third-party gems.
Hi,
YARDoc supports parameterized types, although it doesn't really tell how to make use of them. Does solargraph support defining them somehow?
For example:
Looking at typical Ruby's array example they seem to be parsed as following:
Enumerator<param<Elem>>
But I haven't found anything in the docs that shows how can one define custom generic classes to make use of such parameterized types.
I also tried defining the
.rbs
types declaration which supports such a feature, but that didn't help either. I'm assuming the RBS integration is still in progress (?).Thanks in advance for your answers!
The text was updated successfully, but these errors were encountered: