rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Add type `RBS::Unnamed::TopLevelSelfClass` to core

Open ksss opened this issue 8 months ago • 0 comments

First step of https://github.com/ruby/rbs/issues/2361

I defined RBS::Unnamed::TopLevelSelfClass.
By itself, this doesn't change anything, but if type checkers implement this class as the class of the top-level object, it will make it possible to type-check methods specific to the top level.

ksss avatar Mar 27 '25 02:03 ksss