From 9b6d43803e78b3885b26823ea191be040e79f851 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Tue, 19 Nov 2024 13:34:43 +0000 Subject: [PATCH] fix for inherited not supporting subclassing the arg of inherited is a subclass of the current class, not (just) a ::Class --- core/class.rbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class.rbs b/core/class.rbs index abfdc2164..45173cb60 100644 --- a/core/class.rbs +++ b/core/class.rbs @@ -149,7 +149,7 @@ class Class < Module # New subclass: Bar # New subclass: Baz # - def inherited: (Class arg0) -> untyped + def inherited: (instance arg0) -> untyped #