Skip to content

Add Kernel and Object to RBS TARGET_CLASSES with tests#39

Merged
dak2 merged 1 commit intomainfrom
feat/add-kernel-object-to-rbs-target-classes
Feb 28, 2026
Merged

Add Kernel and Object to RBS TARGET_CLASSES with tests#39
dak2 merged 1 commit intomainfrom
feat/add-kernel-object-to-rbs-target-classes

Conversation

@dak2
Copy link
Owner

@dak2 dak2 commented Feb 28, 2026

Methods defined in Kernel and Object (e.g. nil?, freeze, frozen?, class, dup, to_s, hash) are available on all Ruby objects, but were missing from TARGET_CLASSES. This left them unregistered in the method registry, which would cause false positives once receiver-less call resolution (Proposal B) is introduced.

Methods defined in Kernel and Object (e.g. nil?, freeze, frozen?,
class, dup, to_s, hash) are available on all Ruby objects, but were
missing from TARGET_CLASSES. This left them unregistered in the method
registry, which would cause false positives once receiver-less call
resolution (Proposal B) is introduced.
@dak2 dak2 merged commit 8507893 into main Feb 28, 2026
2 checks passed
@dak2 dak2 deleted the feat/add-kernel-object-to-rbs-target-classes branch February 28, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant