Skip to content

Commit

Permalink
fix for inherited not supporting subclassing
Browse files Browse the repository at this point in the history
the arg of inherited is a subclass of the current class, not (just) a ::Class
  • Loading branch information
HoneyryderChuck committed Nov 19, 2024
1 parent b3afd77 commit 9b6d438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class Class < Module
# New subclass: Bar
# New subclass: Baz
#
def inherited: (Class arg0) -> untyped
def inherited: (instance arg0) -> untyped

# <!--
# rdoc-file=object.c
Expand Down

0 comments on commit 9b6d438

Please sign in to comment.