rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Add support for quoting global variable names

Open hjwylde opened this issue 3 years ago • 2 comments

Global variables in Ruby can have all sorts of characters in their names - https://docs.ruby-lang.org/en/3.0.0/doc/globals_rdoc.html

It would be helpful if we could quote a global variable's name so that we can specify its type.

hjwylde avatar Aug 09 '21 23:08 hjwylde

https://github.com/ruby/rbs/pull/749 You may find improvement here, while it's not completely compatible yet.

soutaro avatar Aug 18 '21 16:08 soutaro

Thank you, looks great :). This can probably be closed now.

hjwylde avatar Aug 22 '21 21:08 hjwylde